When I request a loaded page and check firebug inspector
I get
Status Code:304 Not Modified
Answer Headers
Cache-Control:public Connection:Keep-Alive Date:Tue, 23 Oct 2012 09:28:57 GMT ETag:"200000000296d-12ca-4cca274ac8a98" Expires:Tue, 30 Oct 2012 09:28:57 GMT Keep-Alive:timeout=5, max=99 Server:Apache/2.2.22 (Win32) PHP/5.3.13 Vary:Accept-Encoding
My doubt is that .. is there a way by which you can reduce the response headers sent from the server to the browser when the page is not changed.
as on one help website, when checking with firebug I could find:
Answer Headers
Date:Tue, 23 Oct 2012 09:28:56 GMT Etag:"79ee2bbda49fcd1:0"
with two meanings. Please provide me with a useful resource. Correct me if I am wrong where? Thanks for the help.
This help site is hosted on iis. and longer iam geting answer on apache.
UPDATE:
When I searched on Google, I got to this URL. https://github.com/apache/httpd/blob/2.2.x/modules/http/http_filters.c#L1281 reading the code tells me that it filters the header fields if its response is of type HTTP_NOT_MODIFIED type. Is this module installed by default in apache? or how to install it on my apache and make it work?
source share