X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=opensearch_desc.php;h=15ec62d0e56523466146afb481b455c31053f916;hp=bd3281aa9c6c3ba4d6d0c715dd79de5e15e38f9b;hb=a52f0fdb944dc72762abb05518befafdfe031a86;hpb=0756849eb8450909d14dcb619307bdf07f0c7fcd diff --git a/opensearch_desc.php b/opensearch_desc.php index bd3281aa9c..15ec62d0e5 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -36,7 +36,7 @@ if ( $wgRequest->getVal( 'ctype' ) == 'application/xml' ) { $response = $wgRequest->response(); $response->header( "Content-type: $ctype" ); -// Set an Expires header so that squid can cache it for a short time +// Set an Expires header so that CDN can cache it for a short time // Short enough so that the sysadmin barely notices when $wgSitename is changed $expiryTime = 600; # 10 minutes $response->header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expiryTime ) . ' GMT' );