加拿大华人论坛 美国华人新闻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
·加拿大新闻 央行本周预计降息!加拿大房主年省$1000!制造业回血 就业却雪
·加拿大新闻 澳媒:中国汽车超越澳大利亚质量标准
·加拿大新闻 科幻和激进的设计多数只属于纯电车?对,但为什么?
·加拿大新闻 多伦多27岁留学生不会法语,EE总分499也能上岸!职业是...
·加拿大新闻 奥迪E5 Sportback 豪华品牌的反击来了!|汽势
·汽车 新的(对我)的汽车建议
·汽车 2008大众高尔夫柴油油泄漏