Lofesa commented on issue #1961: Не правильно обрабатывает html странички URL: https://github.com/apache/incubator-pagespeed-mod/issues/1961#issuecomment-546327985 As far I can see you have: user --> nginx proxy --> apache + pagespeed And use a service worker that load the resources. Pagespeed can´t optimize resources loaded by a javascript and maybe the nginx proxy is storing unoptimized resources, cause the 1st request don´t be optimized, pagespeed need some hits to make their work. To use your configuration, you need to configure [pagespeed downstream cache](https://www.modpagespeed.com/doc/downstream-caching) Can you make some test? Disable the nginx proxy so request got addressed directly to the apache server. Don´t use the service worker, I will say, if you have an apache server + pagespeed see what happens when you use only these. I have tested your site with: `https://vseojkt.ru/assets/templates/theme/theme_files/test2/html/index.html/?PageSpeed=on&PageSpeedFilters=+debug,-js_defer` and got an unstyled page but can´t got the debug messages in the html code
---------------------------------------------------------------- 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