Mazizieh commented on issue #1659: Pagespeed Not optimising part of website images. URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1659#issuecomment-513530171 > > Cache-Control: max-age=2592000 > > Cache-Control: no-cache > > You had 2 cache-control headers and I think the last is the one that are valid, so you had a Cache-Control: no-cache header and then pagespeed don“t rewrite these image. However, I have same thing for optimized images like below: ``` Request URL: https://www.example.com/media/banner/banner.jpg.pagespeed.ic.5oGh.webp Request Method: GET Status Code: 200 OK Remote Address: x.x.x.x:443 Referrer Policy: no-referrer-when-downgrade Cache-Control: max-age=31536000 Content-Length: 3870 Content-Type: image/webp Date: Sun, 21 Jul 2019 05:28:51 GMT ETag: W/"0" Expires: Mon, 20 Jul 2020 05:28:51 GMT Last-Modified: Sun, 21 Jul 2019 05:28:51 GMT Link: <https://www.example.com/media/banner/banner.jpg>; rel="canonical" nnCoection: close Server: nginx X-Original-Content-Length: 4569 X-Page-Speed: 1.13.35.2-0 Accept: image/webp,image/apng,image/*,*/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Cache-Control: no-cache Connection: keep-alive Cookie: _delighted_fst=1563107504455:{}; _gcl_au=1.1.1093713283.1563107505; __tawkuuid=e::www.example.com::bUuPtpau/D2XvbD3+w1kNoTUzNJBDUPN+TvnCz6O2JVQqEjXnSD4vmND53vu7fJi::2; _fbp=fb.1.1563107505426.1309377612; _ga=GA1.3.1080968892.1563107506; cto_lwid=f32d220d-e7dc-42f1-b675-0a3515469bb0; _scid=493ad801-c2a7-4000-9b04-7641d6def009; _delighted_lst=1563107508059:{%22token%22:%22SsYTjxsB5mMoCGZiVolmpIW6%22}; lang=en; frontend=gf874v5qkeoj2u3kqpj2gsqi04; seasonal=true; _gid=GA1.3.1305134949.1563620784; waitingroom=klYEg-TdSVB-8T2tL-ELD1r; __insp_wid=1702379826; __insp_nv=true; __insp_targlpu=aHR0cHM6Ly9zaG9wLmFkaWRhcy5hZS9lbi9tZW4%3D; __insp_targlpt=YWRpZGFzIE9ubGluZSBTaG9wcGluZyB8IFNwb3J0cyBDb2xsZWN0aW9uIHwgYWRpZGFzIFVBRQ%3D%3D; __insp_norec_sess=true; _sctr=1|1563656400000; _abvisitor=plpYPgBAgQAilWaT0WYUhsv51w4T3VDwjYBOfULB%3B1563693020; __insp_slim=1563693203809; TawkConnectionTime=0; _dc_gtm_UA-63988148-1=1; criteo_write_test=ChUIBBINbXlHb29nbGVSdGJJZBgBIAE; _gat_UA-63988148-1=1 Host: www.example.com Pragma: no-cache Referer: https://www.example.com/en/page1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 ``` So, I don't think actually this is the problem, since this showing caching for both request and response from both user and server ends.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services