Luke F
Well-known member
This addon is of arguably little use since XenForo 1.1
Based on the now defunct vB4 SuperCharged, this addon does a few things to improve your Page Speed score as well as overall responsiveness.
Features:
Also you should run the Minify Javascript process again after upgrading XenForo or installing addons with Javascript included.
Update: (0.0.x to 0.1.0)
0.1.0: (24/04/2011)
Based on the now defunct vB4 SuperCharged, this addon does a few things to improve your Page Speed score as well as overall responsiveness.
Features:
- Minify all Javascript with UglifyJS (beats even Closure Compiler)
- Defer Javascript loading (moves script tags to before </body>)
- Minify HTML (not really recommended, but you can give it a try )
- Upload contents of upload folder to your forum root.
- Ensure the directories /js and /js-old are writeable by PHP (chmod or otherwise).
- Install addon-XFOptimise.xml file.
- Go to ACP > Applications > Minify Javascript and wait for around 30 seconds for it to complete the minification process. May take longer since each file must be sent to and processed individually by my server.
- If you are running nginx (if not, you should be ), see here to take advantage of the .gz files.
Also you should run the Minify Javascript process again after upgrading XenForo or installing addons with Javascript included.
Update: (0.0.x to 0.1.0)
- Upload contents of upload folder to your forum root, overwriting all files.
- Upgrade addon using addon-XFOptimise.xml file.
0.1.0: (24/04/2011)
- Added configurable Javascript Blacklist, with existing defaults along with Twitter widgets and AdBrite.
- Improvements to permissions etc. when running minify Javascript (thanks xfrocks).
- Switched to a more reliable file iterator (SPL extension required now).
- Fixed permissions issue (only superadmins had access, now controlled with 'option' flag as previously intended).
- Possibly fixed array_merge error in Minify Javascript function.
- Initial release