Lazy-Load Causing Strange URL Rewritting and 404 Errors
-
So this is a weird one.
When lazy-load is on, certain images on my site are loaded multiple times, but with different, invalid URLs. Check out the waterfall on the linked GTmetrix report to see what I mean.
It looks like it might be rewriting the URL to serve it on ShortPixel, but doesn’t replace ‘mydomain.com’ with ‘cdn.shortpixel.ai/client/q_lossless,ret_img/’.
To make it even more frustrating, I can’t get this issue to appear consistently across different servers/browsers; the bug appears consistently on GTmetrix and Pingdom, but only occasionally on my PC with Firefox, and never on PageSpeed Insights.
I recently updated to WP 5.5, but can’t say for certain if that is related. Installing ‘Enable jQuery Migrate Helper’ didn’t fix the issue.
The page I need help with: [log in to see the link]
- The topic ‘Lazy-Load Causing Strange URL Rewritting and 404 Errors’ is closed to new replies.