Welcome to WebmasterWorld Guest from 220.127.116.11
On my test files, I'm sending out the last modified header and an Etag, but when I print out the request headers it never seems to contain the if-modified-since request.
Has anyone got this working properly on their site?
If you are sending the last-modified date and an ETag, it should work. It's up to the client to do a CGET, though.
I've set up last-modified, cache-expires, and ETag in my headers, and I see 304 responses in my raw access logs quite often when the files have not been modified.
Yes, I know the client handles the cget, but I've been looking at the various PHP scripts that handle sending out the 304 and saving on processing time like Simon Willison's script at [simon.incutio.com ]
I guess I'll check mylogs further to see if the files I've been testing it on have been responding properly.
That script can do Etags for you as well.