Minified js file take 1.5 sec to load from Cloudflare

I moved my site to SiteGround yesterday because my cheap shared hosting had a really long wait time. So just tested the site again, but now is the minified js file really slow. It takes almost 1.5 seconds to load it from Cloudflare.

I have disabled minify in W3 total cache. Any thoughts why it takes so long the load the js file?

seems like problem in your side… just look at the file content:

https://lazyadmin.nl/wp-content/cache/minify/dcc17.default.include-body.20ec73.js
try{console.log("- ERROR - Original site javascript does not exist. This is a placeholder. Url is '

something looks wrong here

if you let the test run for a multiple times from the same location and you will let cf to cache the file you will see it becoming really fast

2 Likes

Thanks you for pointing in the right direction. Turns out a bug in W3tc plugin:
https://wordpress.org/support/topic/w3tc-non-existent-js-and-css-in-cache-minify-throw-errors/page/2/

Removed all .htaccess files in the wp-content/cache directory and the issue was solved.

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.