|
HTTP,MySQL,google,Apache,PHP,SEO,百度,FTP,Linux,域名注册,Server,浏览器,开源,淘宝,免费软件,知识产权,中国搜索,爬虫,搜索引擎,FTP Jail,vsFTPD,qihoobot,BadBot,Ports,Network,Remove Pass-phase,SSL,Installation,缓存,Cache
| 阅读上一个主题 :: 阅读下一个主题 |
| 留言 |
|
How to disable Etag in Apache
|
|
| |
|
发布人: Mrs LA
发布于: 2008/02/01, 7:28 pm
|
|
|
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 etag
2. Server need to check last modified time & etag to validate one file
By 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 add
FileETag None
Or if you can access .htaccess only, you can add
Header unset ETag
FileETag None
If you use both Last-Modified and Etag before, it will cause all cache reload after you remove etag
|
_________________ 支持洛杉矶华人,点评洛杉矶华人商家
|
|
|
返回页首
|
|
 |
|
热门标签: HTTP(8), MySQL(8), google(6), Apache(5), PHP(4), SEO(4), 百度(3), FTP(2), Linux(2), 域名注册(2), Server(2), 浏览器(1), 开源(1), 淘宝(1), 免费软件(1), 知识产权(1), 中国搜索(1), 爬虫(1), 搜索引擎(1), FTP Jail(1), vsFTPD(1), qihoobot(1), BadBot(1), Ports(1), Network(1), Remove Pass-phase(1), SSL(1), Installation(1), 缓存(1), Cache(1)
|
相关搜索: apache etag(38), etag apache(7), apache FileETag(4), apache Etags(3), disable etag(3), etag(2), how to remove ETags in apache(2), apache 2.0 disabling etags(2), disable apache header(2), etag remove apache config FileETag None(2), httpd.conf disable If-Modified-Since(2), etags apache(2), apche etag(2), disabling etag in apache(2), apache file etag none(2), apache etags remove(2), apache etag FIleETag(1), remove etag .htaccess(1), iis 6.0 remove etag(1), disable Last-Modified for apache(1)
|
|