aboutsummaryrefslogtreecommitdiffstats
path: root/includes/AjaxResponse.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2015-12-09 17:30:47 -0800
committerAaron Schulz <aschulz@wikimedia.org>2015-12-09 17:35:37 -0800
commit6af3c39c0766bcf32a9a77768345074b96c1f122 (patch)
treed314ed18d6954c11eef77e84d68349cf9383735e /includes/AjaxResponse.php
parent538ba3deb550ac1d1a399fb5cbecd294b99865ee (diff)
downloadmediawikicore-6af3c39c0766bcf32a9a77768345074b96c1f122.tar.gz
mediawikicore-6af3c39c0766bcf32a9a77768345074b96c1f122.zip
Replace "squid" with "CDN" in various comments
Change-Id: Idcc528daf28e119349155d36e30a9bcf61b2e7d5
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r--includes/AjaxResponse.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php
index 34bb65f19bd7..db989a49325a 100644
--- a/includes/AjaxResponse.php
+++ b/includes/AjaxResponse.php
@@ -175,14 +175,14 @@ class AjaxResponse {
}
if ( $this->mCacheDuration ) {
- # If squid caches are configured, tell them to cache the response,
- # and tell the client to always check with the squid. Otherwise,
+ # 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' ) ) {
# Expect explicit purge of the proxy cache, but require end user agents
# to revalidate against the proxy on each visit.
- # Surrogate-Control controls our Squid, Cache-Control downstream caches
+ # Surrogate-Control controls our CDN, Cache-Control downstream caches
if ( $this->mConfig->get( 'UseESI' ) ) {
header( 'Surrogate-Control: max-age=' . $this->mCacheDuration . ', content="ESI/1.0"' );