Sorry, this is an old topic but I am currently trying to find a solution. Got no help from my host.
PROBLEM/SOLUTION
I don't have the mod_headers nor the mod_expires so solutions were given to use a redirect or this type of URL (http://www.example.com/images.php?image.gif) to deal with headers - See [
webmasterworld.com...]
SCRIPT USED
So I wrote a script to check if-modified-since and if-none-match and compare it to $etag and $last_modified_time - See [
webmasterworld.com...] (just to get an idea, code has been modified since)
STILL STUCK
Well, I am stuck because $_SERVER['HTTP_IF_MODIFIED_SINCE'] and $_SERVER['HTTP_IF_NONE_MATCH'] doesn't exist on my server! - See [
webmasterworld.com...]
So this long post for a single simple question :
How to implement caching script when there is no HTTP_IF_MODIFIED_SINCE' and 'HTTP_IF_NONE_MATCH in server headers ? Thank you