Lofesa commented on issue #1693:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1693#issuecomment-670416976


   Tagmanager and google user content does not have relation with google fonts.
   ```
   pagespeed Domain *.googleusercontent.com;
   pagespeed Domain www.googletagmanager.com;
   
   ```
   If you set these directives you are ok to get 404 resources.
   Example:
   Think a url like https://something.googleuserconten.com/image.jpg
   The domain something.googleuserconten.com is NOT running pagespeed module.
   you get the url rewrited like 
https://something.googleuserconten.com/ximage.jpg.ic.pagespeed.SOMEHASHHERE.webp
   What do you thing the domain something.googleuserconten.com return when you 
request the rewrited url?
   So the directive `pagespeed Domain`  must be used for domains you know are 
running pagespeed module. The only exception is fonts.googleapis.com.
   
   In other hand, this directive make distintion between http and https:
   `pagespeed Domain yourdomain.com;` is not he same as
   `pagespeed Domain https://youdomain.com;` so you can use some like:
   `pagespeed Domain http*://*.youdomain.com;`  this cover http/https versions 
of all you subdomains.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to