# ---------------------------------------------------------------------- # | 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://developers.google.com/speed/pagespeed/module/configuration#notransform add_header Cache-Control "no-transform";