zxcvbn.min.js is causing slow load time
-
Hi,
When I test my website (http://slaapwijzer.net) with tools.pingdom.com I see that the file zxcvbn.min.js is causing a serious delay in loadtime. Does anybody know what I can do to eliminate this problem?
Thanks in advance!
william
-
I don’t even know what that’s from. What’s the file path?
Hrmm.. when I load the page in my browser (Firefox 39.0.3 in Win 7 Pro), that file doesn’t load. Closest one is /wp-includes/js/zxcvbn-async.min.js?ver=1.0
A CTRL-F5 refresh take 1.73 seconds to load in browser.
tools.pingdom.com is loading it, however.
Ah, there it is! I always forget those exist in core, the file name bugs me.
That file is taking way too long to load. I wonder if something is minifying the minified file, something that’s taking excess resources somewhere.
Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.
Thanks James and Mark!
I tried it but I could not find a plugin that is responsible for the problem. It isn’t a theme-specific issue either. Any other suggestions?
Thanks in advance!
Try downloading WordPress again and delete then replace your copies of everything except the
wp-config.phpfile and the/wp-content/directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.Hello,
Same problem here. I did some research and /wp-includes/js/zxcvbn.min.js seems to be a password strength estimation script.
On pingdom, this specific file take more time to load that the rest of my site !
Anybody know how to diseable it ? I don’t really need a password strength estimation
It’s a core file, don’t disable it. Instead, there any many sites *without* this problem, so please try the troubleshooting steps mentioned throughout this thread.
Hi Guillaume,
If you found a way to solve this problem, please let me know π I tried all the steps in this thread, except replacing all my core files. With my ‘technical background’ doing such thins outside the WordPress environment is asking for more trouble. If this solves the problem I will dig deeper into it or let someone do it for me.
@james: thanks for your help!
I just uploaded all WP 4.2.4 files and the problem is still here.
Thanks for letting me know. Do you have any other suggestions James? π
From looking at the source code of your page, it seems highly likely that you are using some kind of plugin to minify your HTML at the very least. Can you confirm if you are using a caching plugin or similar?
I’m using W3 Total Cache, but when I deactivate it the problem is still there.
I also use this kind of plugin : Autoptimize and Wp Super cache ; but if I deactivate them, the problem is still there.
Hiya guys;
I’m Autoptimize’s developer, here’s some randomish remarks;
* it’s “weird” that a file to estimate password strength is loaded on non-backend pages (maybe except if you’re using bbpress, but there it ideally would only be loaded on the registration/ change password page)
* you could indeed simply exclude it from being aggregated by autoptimize
* the file actually is pretty huge (>600Kb, still >350Kb when gzipped)My 2c; find out which plugin (or theme) is enqueuing this file and contacting the developer to fix this OR consider dequeuing it.
hope this helps,
frankI agree, it shouldn’t loading on the front end at all, something is doing that.
Again, I encourage you to try deactivating *all* plugins (yes, all plugins, even the one where you’re thinking “it couldn’t possibly be that”). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.
The topic ‘zxcvbn.min.js is causing slow load time’ is closed to new replies.