Merge pull request #71 from h5bp/content_transformation_and_ngx_pagespeed

Add information on `ngx_pagespeed` and content transformation
This commit is contained in:
Andy Dawson 2014-10-23 17:52:45 +02:00
commit 06d1a605cb
1 changed files with 9 additions and 0 deletions

View File

@ -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";