[Plugin: Meteor Slides] REQUEST: Load JS only when needed!
-
Hi, after testing many sliders, I must say that yours is one of the best – congratulations and thank you very much for your efforts!
However, there is still room for optimization: you are loading the Javascript needed for Meteor Slides on each and every page request, even if there is only ONE slider on a side with 2000 pages, on each and every page the JS files are loaded – certainly this already is on your todo list, maybe you can get some inspiration here:
http://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/
ATM I do not know what would be the best method of implementing such a behaviour as default for a plugin, looks like an henn-egg problem, but I did not dig deeper (for now).
Would be interesting to see a good generic solutio for this!
Thanks!
- The topic ‘[Plugin: Meteor Slides] REQUEST: Load JS only when needed!’ is closed to new replies.