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:
[email protected]


With regards,
Apache Git Services

Reply via email to