Jump to content

Manual:$wgUseETag/zh

From mediawiki.org
This page is a translated version of the page Manual:$wgUseETag and the translation is 25% complete.
缓存: $wgUseETag
Whether MediaWiki should send an ETag header.
引进版本:1.8.0 (r16205)
移除版本:1.28.0 (Gerrit change 296221; git #46df493a)
允许的值:(布尔值)
默认值:false

细节

Whether MediaWiki should send an ETag header. Seems to cause broken behavior with Squid 2.6, see 工單T9098. Note that nginx (before 1.7.3) removes the ETag header when it does itself the HTTP gzip compression (see for example this thread) but doesn’t remove it when MediaWiki send itself a gzip version (see 手册:$wgUseGzip ). This issue is solved from nginx 1.7.3 (bug #377: etag не отдается с gzip).