Hi, i have a question, Im currently got a caching system in place but it use php to utilize it...

rateitstar nginx-forum at nginx.us
Wed Nov 23 18:31:15 UTC 2011


Im currently got a caching system in place but it use php to utilize it,


is their some way to direct a user to html cache file ie

www.domain.com/view.php?id={id}

would hidden redirect to:

www.domain.com/cache/{id}.html

not using any 304 directs **totally invisible..if you know what i mean
due to search engines being tricky about those things

*now this is the bit im thinking about::

if the {id}.html file does  not exist

carry the request out as normal with the view.php script

for example with this script:

www.domain.com/view.php?id={id}



Thank you before hand.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218877,218877#msg-218877



More information about the nginx mailing list