Manual:$wgUseETag/zh

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUseETag and the translation is 25% complete.
Other languages:
English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
缓存: $wgUseETag
Whether MediaWiki should send an ETag header.
引进版本:1.8.0 (r16205)
移除版本:1.28.0 (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 Manual:$wgUseGzip ). This issue is solved from nginx 1.7.3 (bug #377: etag не отдается с gzip).