- Compatible XF Versions
- 1.0
Using this addon with XenForo 1.1 or higher is not recommended - only the defer Javascript feature will have any benefit and there are a number of compatibility issues.
Features:
Installation:
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.
Changelog:
0.1.0: (24/04/2011)
Features:
- Minify all Javascript with UglifyJS (beats even Closure Compiler)
- Defer Javascript loading (basic implementation; moves script tags to before </body>)
- Minify HTML (not really recommended, but you can give it a try )
Installation:
- 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.
Changelog:
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