加拿大华人论坛 美国华人新闻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
·加拿大新闻 这航空公司加拿大飞香港服务好座位阔价钱平为何转机客却步?
·加拿大新闻 集体下跌,BBA在华销量失守,德系豪车为何风光不再?
·加拿大新闻 卑诗延长重大疾病或受伤员工无薪假 一年内最多可申请27周
·加拿大新闻 不用中考?十二年贯通式学校能否减轻升学焦虑?
·加拿大新闻 “再也不会开车去加拿大了”美家庭来加国旅游车辆第2次被破坏
·中文新闻 在主持 2025 年英国骄傲奖颁奖典礼之前,64 岁的卡罗尔·沃德曼
·中文新闻 歌手一头金色短卷发,面目全非,她透露碧昂丝送给她的礼物,