Exclude plugin/file from delayed JS loading
-
I tried excluding a specific plugin (pop-up) from the delayed JS loading on Litespeed, but this doesn’t seem to work.
What I did:
- Changed the setting for the entire site from delayed to deferred in Litespeed settings (plugin worked)
- Added the plugin (/wp-content/plugins/pluginname/) to the JS Excludes and JS deferred excludes – No result
- Talked to support of the plugin developer and added data-no-optimize=”1″ to the plugin files – No result
- Tried excluding some seperate JS files (from the plugin) in the excludes (JS en deferred JS) – No result
When logged in (without optimizations) the plugins works, which is also the case when delayed JS loading is disabled.
Hope there’s a solution for this.
Thanks!
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Exclude plugin/file from delayed JS loading’ is closed to new replies.