Lofesa edited a comment on issue #1897:
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1897#issuecomment-968895233


   > 
   > 
   > The file exists
   > 
   > ```
   > ll 
pub/media/catalog/product/cache/9cb80aaa700fbabda1d30deb1d8f7ff5/6/0/601313-dunlop-atp-official-tennis-balls_1.jpg
 -h | sed 's etennism2.yourstaging.eu subdomain.example.com g'
   > -rw-rw-r-- 1 sys_etennism2 psacln 11K Oct  8 18:02 
/pub/media/catalog/product/cache/9cb80aaa700fbabda1d30deb1d8f7ff5/6/0/601313-dunlop-atp-official-tennis-balls_1.jpg
   > ```
   
   But this path is under
   `/var/www/vhosts/subdomain.example.com/httpdocs/`
   
   And what are the cache-control header?
   Pagespeed need resources to be public cacheable and whit a max-age greather 
than 0.
   This header makes the TTL for the optimized resource in the cache, so if you 
habe some like
   `cache-control: max-age=600`
   the optimized resource "lives" in the cache 600 secons, pass this time, 
resource must be re-optimized
   When the resource is optimized, pagespeed changes it to 1 year for the 
browser.


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