Lazy load & Cloudflare Cache issue

We run a website that uses lightspeed, if Cloudflare caching is enabled We see first-time clients visit the page, Then it doesn’t include the app.js + lazyload.js and cookie.js. After an hard refresh with (Mac: Command + R + Shift / Windows: Shift + Control + R). Then it loads those 3 files in.

First time load: https://i.imgur.com/MaaRzjP.png
After hard refresh: https://i.imgur.com/Myrc654.png

Any idea how I can overcome this issue?


Can you please check the console, since there is an error?
Then post the error here

just added a page rule, might have changed the picture a little, need to test…

Ok, that’s just your AdBlock blocking GA.

Since the ressources you complained about, are all getting initiated by RocketLoader:
image

I would recommend disableing RocketLoader, then purge all cache, then try again and report back.

1 Like

Also, this PageRule will not have any effect at all since your site is getting served on “www”.
Add the “www” to the PageRule, to make it take effect at all.

Think it resolved the problem by disabling rocketloader. will do some more testing. many thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.