pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] oschaaf commented on issue #1527: How to remove SRI?
Date Thu, 01 Jan 1970 00:00:00 GMT
oschaaf commented on issue #1527: How to remove SRI?
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1527#issuecomment-357493906
 
 
   https://www.w3.org/TR/SRI/ states:
   
   ```
   4. Proxies
   
   Optimizing proxies and other intermediate servers which modify the responses must ensure
   that the digest associated with those responses stays in sync with the new content. 
   One option is to ensure that the integrity metadata associated with resources is updated.

   Another would be simply to deliver only the canonical version of resources for which a
   page author has requested integrity verification.
   
   To help inform intermediate servers, those serving the resources should send
   along with the resource a Cache-Control header with a value of no-transform.
   ```
   
   ngx_pagespeed should respect `Cache-Control: no-transform` by default:  https://www.modpagespeed.com/doc/configuration#notransform

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message