S
Shabam
I need to implement a caching mechanism for my script URLs. Instead of
www.domain.com/script.cgi?id=1234 , which the browser will obviously not
cache, I want the URL to be something like www.domain.com/1234 or
www.domain.com/1234.htm instead. This way the browser will cache the page.
I have two concerns:
1) Is this possible without rewriting the url? If so how?
2) The result page will be different for different users. Will this cause
trouble with proxy servers? My goal is only to cache a particular version
for a particular user so that if he requests the URL again (within X
minutes) the server doesn't have to process it again.
www.domain.com/script.cgi?id=1234 , which the browser will obviously not
cache, I want the URL to be something like www.domain.com/1234 or
www.domain.com/1234.htm instead. This way the browser will cache the page.
I have two concerns:
1) Is this possible without rewriting the url? If so how?
2) The result page will be different for different users. Will this cause
trouble with proxy servers? My goal is only to cache a particular version
for a particular user so that if he requests the URL again (within X
minutes) the server doesn't have to process it again.