加拿大华人论坛 美国华人新闻How to disable Etag in Apache
在加拿大
Entity tags (ETags) are a mechanism to check for a newer version of a cached file. Problem may caused by Etag:1. When using server farm, it may cause lower cache rate for different server generate different etag2. Server need to check last modified time & etag to validate one fileBy removing the ETag header, you disable caches and browsers from being able to validate files, so they are forced to rely on your Cache-Control and Expires header. Basically you can remove If-Modified-Since and If-None-Match requests and their 304 Not Modified Responses.If you can access httpd.conf, you can addFileETag NoneOr if you can access .htaccess only, you can addHeader unset ETagFileETag NoneIf you use both Last-Modified and Etag before, it will cause all cache reload after you remove etag
·加拿大新闻 收到这条短信别删!加拿大Rogers/Fido/Chatr用户有望领到一笔钱!
·加拿大新闻 别克GL8焕新登场,配炫酷大屏与舒适座椅,动力强劲
·加拿大新闻 胡锡进:美国最铁杆的盟友,现在却被美国百般羞辱
·加拿大新闻 TD预测:加拿大房市明年迎拐点房价全线看涨
·加拿大新闻 又一家电集团造车,打造移动客厅,夏普首款车有没有看头?
·中文新闻 旋风“阿尔弗雷德”过后,数千名昆士兰人在黑暗中度过了一周
·中文新闻 足球明星因对阵萨摩亚的疯狂尝试而走红








