Lofesa commented on issue #1742: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1742#issuecomment-1087400765
Hi Well, these headers are ok for caching the resource, but pagespeed found some reason to don´t cache it. If you put pagespeed off and don´t rewrite img.domain.com to www.domain.com/img/ the image is loaded? Are here any CSP in www.domain.com? Have you tried this?: ``` pagespeed MapOriginDomain http://img.domain.com/ https://img.domain.com/ pagespeed MapRewriteDomain https://www.domain.com/img/ https://img.domain.com/ pagespeed MapProxyDomain http://www.domain.com/ http://img.domain.com/ ``` This need http://img.domain.com be reachable. For me sound strange that the rewrited resource is stored in the http cache and not in the https one as you say here: > There is a file present in /dev/shm/ngx_pagespeed_cache/v3/domain.com/http,3A/,2Fwww.domain.com/img/3b68450e-44ba-4f7d-a7b3-dff8178eb5c9/250x250: The uncacheable message comes from here https://github.com/apache/incubator-pagespeed-mod/blob/d8070cf1cd0dbfb70a05e28b739707c66b1cf635/net/instaweb/rewriter/resource.cc#L113 In the pagespeed admin pages -> Message History there is any error related to these images? Maybe a 10002 or 10003 error? -- 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