What JS files are safe to dequeue
-
Hello,
I’m keeping my site as optimized as possible (using LiteSpeed Cache for most parts) and noticed that after adding this plugin, I get some additional JS files that isn’t included in the JS bundles from LiteSpeed.It seems like your JS is injected after page load if I saw correctly after a quick look in the source code, so I guess that’s why LiteSpeed misses it. So first of all, would it be possible to add the scripts the normal WordPress way instead?
And on that subject, I have not activated the “Save to Pinterest” button and wanted to know if there are any files related to this that is included although that option is disabled? If so, do you have a hook I can use to dequeue it?
Thanks a lot, keep up the good work!
- The topic ‘What JS files are safe to dequeue’ is closed to new replies.