Usually because if people need to modify the code in developing a website, it’s not readable once compressed.
However, what we do over here for our sites is use the Google recommend .js compression tool to minify the main .js file — remember you need to disable your caching, clear it, before swapping file otherwise you’re still loading old file even with new one in place.
correct way to compress your js file:
http://closure-compiler.appspot.com/home
ref:
https://developers.google.com/speed/articles/compressing-javascript
( I don’t work here … just resident smarty pants mcduff…. )
Hi Chris,
Thanks for your reply. I understand the minification processs etc what i don’t understand is why the theme isn’t using the min’d version straight out the box. Problem is, if you use the min version it all breaks :(. Is this version not tested?
Cheers
Simon
Again —
if you compress the non-minified version, you will have working version.
The included minified version is for special cases, and might not work with your setup. At least that is what I understand.
Again — if you take 5 minutes and compress the .js using Google’s tool, it works 🙂 I’ve been doing it for long time now with zero issues.
But I don’t work here — just trying to help 🙂
Hello,
The theme does default to the minified version if you use the tagdiv speedbooster plugin as mentioned here: https://forum.tagdiv.com/how-to-make-the-site-faster/
As a note on the speed booster plugin compatiblity: https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
Thank you!