mch0lic commented on issue #1742:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1742#issuecomment-954563650


   > But now other files are rewrited? I will say a file in 
/var/www/www.domain.com/shared/uploads/ is rewrited?
   
   I'm not 100% sure about uploads, as there is not too may resources loading 
from that dir and given its high traffic site I can only experiment early in 
the morning, but resources from other dirs are not processed, eg:
   
   ```
   pagespeed LoadFromFile "https://www.domain.com/app/plugins/"; 
"/var/www/www.domain.com/current/web/app/plugins/";
   ``` 
   
   ```
   <script defer="" type="text/javascript" 
src="https://www.domain.com/app/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.7.0-wc.5.6.0";
 id="jquery-blockui-js"></script>
   <!--The preceding resource was not rewritten because its domain 
(www.domain.com) is not authorized-->
   ```
   
   > The folder /var/www/www.domain.com/img exists?
   
   There is no img folder both root domain dir and webroot:
   - /var/www/www.domain.com/
   - /var/www/www.domain.com/current/web/ # Web root
   
   > In other hand: this must be set too pagespeed UrlValuedAttribute img 
data-large_image image;
   
   This can be added later.
   
   As I've mentioned everything worked very well for 2-3 years, even after OS 
migrations there was no issues whatsoever. 
   
   From the previous post you can see that pagespeed actually rewrites the 
img.domain.com image into the www.domain.com/img/ image and its even trying to 
serve webp image, so I'm wondering if its possible to debug the part of 
pagespeed fetching the image from img.domain.com and if it's possible to 
inspect cached resource (download it) or at least get hash / size in bytes?
   
   
   
   
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org

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


Reply via email to