X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=dfcf4677af7329a89434c2281f39757821fe0288;hb=de8ea9e67b1e8c2dc220cf38972f0ac5d1269971;hp=0c115053bac9642f36cbb1d02251e91374073712;hpb=e9ed100496b388a31ac2af0deabcc9754984d09d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 0c115053ba..dfcf4677af 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -186,6 +186,7 @@ class AjaxResponse { # Surrogate-Control controls our CDN, Cache-Control downstream caches if ( $this->mConfig->get( 'UseESI' ) ) { + wfDeprecated( '$wgUseESI = true', '1.33' ); header( 'Surrogate-Control: max-age=' . $this->mCacheDuration . ', content="ESI/1.0"' ); header( 'Cache-Control: s-maxage=0, must-revalidate, max-age=0' ); } else {