Lofesa commented on issue #1897: URL: https://github.com/apache/incubator-pagespeed-mod/issues/1897#issuecomment-970653134
I > > > For now I've added using the add_header for the cache control and it seems to show ok > > I also added a header to the location directive for static files to make sure it's processed by nginx and not by apache. > > ![image](https://user-images.githubusercontent.com/20220341/142049801-ea566918-0922-414b-9681-8a0ae8d4f809.png) > > I added a similar header in apache requests to differentiate to requests processed by apache and nginx > > ![image](https://user-images.githubusercontent.com/20220341/142049926-5963cfd2-ee72-4188-93be-424edb0d586f.png) > > Should I add etag off too? > > Expires directive is gone. > > Of course the 4xx error is still there. I still viewing mixed cache-control header and ioweb-served-by Only tested images, some have it, some apache and some nginx, and other don´t have the ioweb-served-by header. and 2 or 3 images returns 404. All this with pagespeed disabled ( url?PageSpeed=unplugged) All files on `https://subdomain.example.com/pub/static` comes from apache ``` 700040-babolat_all.jpg dog_dampener.jpg logo-etennis.ico ``` returns 404 More strange, image files served with ?PageSpeed=unplugged are not the same as served with ?PageSpeedFilters=+debug Whit unplugged I have these files with 404, with debug, no. Like a page cache with differen code for each url parameter. Whit unplugged I get files with etag headers from IPRO, but this no posible, pagespeed is disabled.. Image +debug ![Captura de pantalla 2021-11-16 211422](https://user-images.githubusercontent.com/22342793/142059171-20fe7c08-d92b-48a2-9970-8ae24cd6af59.jpg) Image unplugged ![Captura de pantalla 2021-11-16 211512](https://user-images.githubusercontent.com/22342793/142059289-be6679e4-f83c-477d-9409-a3fe2b89f8a6.jpg) Don´t have ioweb-served-by ![Captura de pantalla 2021-11-16 211554](https://user-images.githubusercontent.com/22342793/142059494-4893e5d8-c4b6-4e40-838d-3939127b0e91.jpg) Image served by apache, so proxy is in place and file is not under nginx location ![Captura de pantalla 2021-11-16 211622](https://user-images.githubusercontent.com/22342793/142059643-b8934602-7081-4d76-9d3b-cf76e47e29ee.jpg) Image served unplugged (pagespeed totally off) but have haders from IPRO (the etag header) ![Captura de pantalla 2021-11-16 211645](https://user-images.githubusercontent.com/22342793/142059832-54e97b5d-eb77-4343-b1a9-e3eb3124070f.jpg) This make me thinking images are cached somewhere and served with the headers they have been stored. -- 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