Suggestion: add mod_pagespeed detection in diagnostic
-
Hello,
Simply Static is a great plugin.
Based on my experience, I’m posting a little feedback.mod_pagespeed is an apache module made by google to optimize a website. When it is installed, it rewrites by default all the vhosts websites resources.
It can for example rewrite image for better compression from image.jpg to image.jpg.pagespeed-random.webpThese images are cached locally on the server but not in the www directory. The images are displayed with a “trap” mechanism on the module. And this trap can have a side effect.
On my website, simply static did fail creating the website because the html was the one containing rewritten image and the copy didn’t contain them.
I forgot that mod_pagespeed was installed on this server and had to investigate.Disabling mod_pagespeed on the specific vhost (in .htaccess modPagespeed Off) did solve the problem.
To save the time I lost for other users, I suggest to add on the diagnostic page a test to see if mod_pagespeed is activated or issue a warning when image containing “pagespeed” in the path cannot be copied.
best regards,
Vincent
- The topic ‘Suggestion: add mod_pagespeed detection in diagnostic’ is closed to new replies.