Info no-transform

This commit is contained in:
Ben S 2019-09-18 17:10:11 +02:00 committed by GitHub
parent 1ee48bb7d4
commit 2888278601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class WC_Cache_Helper {
* @since 3.6.0
*/
public static function additional_nocache_headers( $headers ) {
// Opt-out of Google weblight if page is dynamic e.g. cart/checkout. https://support.google.com/webmasters/answer/6211428?hl=en.
// no-transform: Opt-out of Google weblight if page is dynamic e.g. cart/checkout. https://support.google.com/webmasters/answer/6211428?hl=en.
$headers['Cache-Control'] = 'no-transform, no-cache, no-store, must-revalidate';
return $headers;
}