加拿大华人论坛 美国华人新闻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
·加拿大新闻 崩盘进行时?房源堆积如山!成交量暴跌,买家持币观望:还能
·加拿大新闻 新蒙迪欧实测:6秒破百+8155芯片,B级车新标杆?
·加拿大新闻 发布与特鲁多贴脸照!“水果姐”终于官宣了
·加拿大新闻 多伦多冬日最酷活动去最美图书馆蹦迪去
·加拿大新闻 多伦多警方抓获一名“扎胎党”,车主被扎后开上高速路后失控
·中文新闻 肾结石:女性越来越容易患上这种令人痛苦的疾病
·中文新闻 墨尔本西部特鲁加尼纳发生恐怖多车相撞事故,造成一人死亡,








