加拿大华人论坛 美国华人新闻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
·加拿大新闻 "她是华人,开保时捷,有钱"!多伦多华人女子惨
·加拿大新闻 奔驰GLC EV慕尼黑秀,能否与国产新能源一较高下
·加拿大新闻 卑诗省长罕见站队博励治:终结临时外劳计划!年轻人失业率爆
·加拿大新闻 BC高速公路竟然逆行 严重车祸2人死亡
·加拿大新闻 对抗关税加拿大开始撒钱:预计魁北克铝业将获“数亿元”关税
·中文新闻 英国母亲恳求伴侣跌倒并在去土耳其旅行中撞到他的头后支付
·中文新闻 影响1中1的健康问题可能会大大增加痴呆症的风险,专家发现