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/"):
   
![image](https://user-images.githubusercontent.com/9491895/73290490-d2a8d500-41fe-11ea-8670-021551b41ce9.png)
   
   ~5k log events per day, last 24h:
   
![image](https://user-images.githubusercontent.com/9491895/73290606-0ab01800-41ff-11ea-8524-f76ea4537490.png)
   

----------------------------------------------------------------
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

Reply via email to