MrTschi commented on issue #1977: TypeError: pagespeed.CriticalImages is undefined URL: https://github.com/apache/incubator-pagespeed-mod/issues/1977#issuecomment-579375218 @Lofesa thanks for your reply. I saw this issue appear in my browser randomly. Browser console states, that the resource (js or css) generated by pagespeed could not be loaded (404). In case of JS, the "pagespeed is not defined" also appears in this case. After reloading the page, the issue is gone without changing anything (neither on client nor on server side). I also noticed that the browser request to generated pagespeed css failed (404), but requesting it manually works. Could it be a timing issue so that the file is not yet fully generated by pagespeed when the browser is going to request it? GTMetrix shows up that the CSS+JS is both loaded twice (original one + pagespeed generated one) resulting in a bad pagespeed score. I couldn't reproduce this behavior in my browser but maybe this is related? Occurs at a wide number of devices and browsers, but **ONLY** at the main home page (url 98% at "/", 2% at test system home "/test/"):  ~5k log events per day, last 24h: 
---------------------------------------------------------------- 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