+ if ( $this->gen ) {
+ $smaxage = $config->get( 'SquidMaxage' );
+ } elseif ( $contentType == 'text/css' || $contentType == 'text/javascript' ) {
+ // CSS/JS raw content has its own squid max age configuration.
+ // Note: Title::getSquidURLs() includes action=raw for css/js pages,
+ // so if using the canonical url, this will get HTCP purges.