Should I remove Etag for htm and php pages?

As far as I know the Etag is an http header is generated by the HTTP server used by the cache system.

Up vote 0 down vote favorite share g+ share fb share tw.

I generate htm files dynamically using php and .htaccess. I read somewhere that I should remove Etags for files of type text/html? Is that correct?

I am wondering if I use etags and If I don't change the content, I could save some bandwidth. I would appreciate if you guys could tell me if I can use etags for htm files. Etag link|improve this question asked Apr 23 '10 at 1:57Castor15316 25% accept rate.

As far as I know the Etag is an http header is generated by the HTTP server used by the cache system. The idea: You ask to stackoverflow.com" rel="nofollow">stackoverflow.com the image logo. Png stackoverflow.com" rel="nofollow">stackoverflow.com will answer to you with a HTTP 304 (content not modified, etag: XXXXXX) Your browser before ask the image again will check the cache for a resource called: logo.

Png, from the website: stackoverflow, with the etag: XXXXXXX If the browser find it, it will load the image from the cache, without downloading If it can't find it, it will ask again to the web server to download it. So... for what propose you want use the ETags? If you want understand more about the ETags could be interesting download HttpFox for firefox.

Apache have his own cache system and it's used when you download or require any "static" download, like html files and images. If you want do it on dynamic context you must implement it by yourself.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions