Loading JS when not needed
-
I have just run a couple of speed tests om my site, and it seems that some JS files for NextGen Gallery are fetched even when they aren’t needed.
We are talking about 5 requests with a combined weight at about 12.8Kb:
photocrati_nextgen/modules/ajax/static/ajax.js
photocrati_nextgen/modules/ajax/static/persist.js
photocrati_nextgen/modules/ajax/static/store.js
photocrati_nextgen/modules/ajax/static/ngg_store.js
photocrati_nextgen/modules/lightbox/static/lightbox_context.jsExample page with the problem: https://www.musalaha.org/about-us/who-we-are/
Sidenote: Can it be true that some of JS is not minimized?
The topic ‘Loading JS when not needed’ is closed to new replies.