pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1681: Uncacheable content, preventing rewriting of image
Date Tue, 03 Mar 2020 08:54:17 GMT
Lofesa commented on issue #1681: Uncacheable content, preventing rewriting of image
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1681#issuecomment-593837663
 
 
   Hi
   Seems you have this:
   `user -> cloudflare -> pagespeed-> nginx -> pagespeed -> apache`
   and, I think, you need
   `user -> cloudflare -> pagespeed -> ngxinx -> apache `
   OR
   `user -> cloudflare -> nginx -> pagespeed -> apache
   `
   I will say, pagespeed must be installed in nginx OR in apache, not in both.
   For debug purposes, cloudflare is noise, put it on bypass mode or activate the developer
mode.
   Your sub-request don´t have cache-control hader and the main request have 2 cache-control
header, but both are uncacheable. Pagespeed, to work, need that resources are public cacheable.
   If you look at the image, in the blue circles, you can view what I´m saying. The unplugged
parameter disables pagespeed.
   
   ![tempsnip](https://user-images.githubusercontent.com/22342793/75757323-6c99fb00-5d32-11ea-9805-cde874fd49c2.jpg)
   
   
   When you use a proxy, is the proxy that hit the webserver, not the user, so you need to
send the user IP and user UA from the proxy to the webserver.
   
   My advice is to work, at first place, ony with pagespeed->apache, and when you have
all isues solved here, then add nginx, and when you solve issues here, then add cloudflare.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message