Quote:
Originally Posted by camperjohn64
Ok I will research the 304. Is this for HTML files also?
At the moment I am only doing this:
Code:
header("HTTP/1.1 200 OK");
header("Status: 200 OK");
header("Pragma: public");
header("Cache-control: public");
header("Accept-Ranges: bytes");
header('Last-Modified: Sat, 03 Mar 1973 09:46:40 GMT');
header('Expires: Wed, 18 May 2033 03:33:20 GMT');
header("Content-Length: " . strlen($content));
header("Content-Type: $content_type");
header("Connection: close");
echo $content;
|
I'm pretty sure that did piss them off. You're using 2 different forms of 'no cache', but the checksum of the file is always the same. You should be using eTags and sending 304 (not modified since) for them to pick it up. If you've not already been marked rogue.