MyBB Community Forums

Full Version: Combined JavaScript Manager
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to see some sort of way to manage JavaScript in the ACP so that it's easy for a plugin or a person to add a JS file that it needs without editing the templates, while the output in the header would look like one file to the browser.

This would help quite a lot with performance.
+1 Smile
Sounds like a good idea, though it would obviously add at least 1 query globally where it isn't needed.
Not a bad idea, just as long as it still allows users not to combine JavaScript files if they prefer. Smile
It has an advantage as a disadvantage. The advantage is only file needs to be downloaded (honestly not as big a deal as it used to be since with browsers being able to handle multiple connections and faster speeds this may be fast Toungue).

But, it also means javascript is loaded by the browser on pages it's not needed on.
(2011-08-01, 11:50 AM)Alex Smith Wrote: [ -> ]It has an advantage as a disadvantage. The advantage is only file needs to be downloaded (honestly not as big a deal as it used to be since with browsers being able to handle multiple connections and faster speeds this may be fast Toungue).

But, it also means javascript is loaded by the browser on pages it's not needed on.
That's where another feature will work awesome Smile Conditional JavaScript loading Big Grin