Find the plugin load js and css on every page rather than only on ones are used
-
The pagespeed tool of Google, i.e., https://developers.google.com/speed/pagespeed/insights/ tells me that “A plugin should only enqueue a stylesheet if it is actually used on the page.”
But our plugin loads the js and css on all pages of website even if on the one there is no
gdoc
is used.I want to know how to modify the plug-in code to optimize this situation for me.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Find the plugin load js and css on every page rather than only on ones are used’ is closed to new replies.