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;