Hi,
I have a php-website with sessions & https. I want the browser to add a ‘if-modified-since’ header to the request as to be able to respond with a 304.
I have this working over http (NO S) but over httpS the browser (both firefox & chrome) do not send the header with the request.
How can I trigger the browser to include the if-modified over httpS?
BTW caching of static content over httpS is working fine, same website, same headers.
My current response headers are:
Cache-Control:max-age=310000000
Connection:Keep-Alive
Content-Encoding:gzip
Content-Length:1106
Content-Type:text/html; charset=utf-8
Date:Sun, 10 Mar 2013 09:47:34 GMT
ETag:dummy
Expires:Fri, 08 Mar 2014 15:40:16 GMT
Keep-Alive:timeout=5, max=93
Last-modified:Fri, 08 Mar 2013 15:40:16 GMT
Server:Apache/2.2.22 (Ubuntu)
Vary:Accept-Encoding
X-Powered-By:PHP/5.4.6-1ubuntu1.1