MyBB Community Forums
[JavaScript] Compression of JS and JS versions - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [JavaScript] Compression of JS and JS versions (/thread-129797.html)



Compression of JS and JS versions - blogantinom - 2012-11-22

I ran my mybb main page on http://www.webpagetest.org and it showed the following:

Quote:Use gzip compression for transferring compressable responses: 69/100
452.0 KB total in compressible text, target size = 314.6 KB - potential savings = 137.5 KB

FAILED - (159.8 KB, compressed = 36.7 KB - savings of 123.1 KB) - http://forum.antinovaordemmundial.com/jscripts/prototype.js?ver=1604
FAILED - (17.7 KB, compressed = 5.0 KB - savings of 12.7 KB) - http://forum.antinovaordemmundial.com/jscripts/general.js?ver=1604
FAILED - (2.9 KB, compressed = 1.2 KB - savings of 1.7 KB) - http://forum.antinovaordemmundial.com/jscripts/popup_menu.js?ver=1604

Why is it can't compress those .js?

And something I don't understand for already some time is why the js have those older version numbers?