X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=323c5d30ac2778bde6a3a4116e1c12cba2cffa38;hb=982d493a4cd3d570ff50be169df9be07600e2d11;hp=5f889adb863160d261b19a2f438c5083df6a535a;hpb=d1756504ef32f801c144a15d1115c20c33bd2a33;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 5f889adb86..323c5d30ac 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -179,8 +179,7 @@ class AjaxResponse { # If CDN caches are configured, tell them to cache the response, # and tell the client to always check with the CDN. Otherwise, # tell the client to use a cached copy, without a way to purge it. - - if ( $this->mConfig->get( 'UseSquid' ) ) { + if ( $this->mConfig->get( 'UseCdn' ) ) { # Expect explicit purge of the proxy cache, but require end user agents # to revalidate against the proxy on each visit. # Surrogate-Control controls our CDN, Cache-Control downstream caches