Drop Cache-Control: no-transform usage

Obsoleted with secure servers

See https://github.com/h5bp/server-configs-apache/issues/185
This commit is contained in:
Léo Colombaro 2019-05-15 18:24:30 +02:00
parent 28874c33f0
commit 282d979af4
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
2 changed files with 0 additions and 21 deletions

View File

@ -7,5 +7,4 @@ include h5bp/security/x-content-type-options.conf;
include h5bp/security/x-frame-options.conf;
include h5bp/security/x-xss-protection.conf;
include h5bp/location/security_file_access.conf;
include h5bp/web_performance/no-transform.conf;
include h5bp/cross-origin/requests.conf;

View File

@ -1,20 +0,0 @@
# ----------------------------------------------------------------------
# | Content transformation |
# ----------------------------------------------------------------------
# Prevent intermediate caches or proxies (e.g.: such as the ones
# used by mobile network providers) from modifying the website's
# content.
#
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
# https://tools.ietf.org/html/rfc2616#section-14.9.5
#
# (!) If you are using `ngx_pagespeed`, please note that setting
# the `Cache-Control: no-transform` response header will prevent
# `PageSpeed` from rewriting `HTML` files, and, if the
# `pagespeed DisableRewriteOnNoTransform off` directive isn't used,
# also from rewriting other resources.
#
# https://www.modpagespeed.com/doc/configuration#notransform
add_header Cache-Control "no-transform";