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:
parent
28874c33f0
commit
282d979af4
|
@ -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;
|
||||
|
|
|
@ -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";
|
Loading…
Reference in New Issue