X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=323c5d30ac2778bde6a3a4116e1c12cba2cffa38;hb=04d1aa3033f40a38d721f7f0e88b5bac440d2869;hp=5f889adb863160d261b19a2f438c5083df6a535a;hpb=0f24b13ea03a7226bd7b9f0d84f4deee8bea0736;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