加拿大华人论坛 美国华人新闻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
·加拿大新闻 紐約市房價曼哈頓居5區之首布碌崙漲幅領先哈德遜廣場最貴
·加拿大新闻 班夫阳光村滑雪场被评为北美西部第二佳滑雪胜地,加拿大排名
·加拿大新闻 联邦保守党议员于同袍倒戈两天后挂冠而去党团再损一员
·加拿大新闻 安省将公布财政更新!聚焦基建就业,最大难题是大学"
·加拿大新闻 日产新武器:10万内插混SUV官图发布
·中文新闻 凯蒂·辛德:“一点咯咯笑”如何变成了叛徒对健谈男人的胜利
·中文新闻 那么为什么玛莎百货不让艾米·卢·伍德 (Aimee Lou Wood) 担任其圣诞








