X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=dfcf4677af7329a89434c2281f39757821fe0288;hp=0c115053bac9642f36cbb1d02251e91374073712;hb=0770f85a0a293e6c7af6f1d3d3a1dbd2d13c1e09;hpb=21fb9bb32b82f13a436238a7dca9bac1464baf80 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 {