Merge pull request #71 from h5bp/content_transformation_and_ngx_pagespeed
Add information on `ngx_pagespeed` and content transformation
This commit is contained in:
commit
06d1a605cb
|
@ -1,2 +1,11 @@
|
||||||
# Prevent mobile network providers from modifying your site
|
# Prevent mobile network providers from modifying your site
|
||||||
|
#
|
||||||
|
# (!) 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
|
||||||
|
# `pagespeed DisableRewriteOnNoTransform off` is not used, also
|
||||||
|
# from rewriting other resources.
|
||||||
|
#
|
||||||
|
# https://developers.google.com/speed/pagespeed/module/configuration#notransform
|
||||||
|
|
||||||
add_header "Cache-Control" "no-transform";
|
add_header "Cache-Control" "no-transform";
|
||||||
|
|
Loading…
Reference in New Issue