From 625871cba8a2fe71c70b3d2946a5f37993d1f263 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 25 Nov 2010 17:22:58 +0100 Subject: JS: Split script.js into a separate file for each language This greatly reduces the size of the Javascript file. The compressed size has been reduced with about 9kB, and is now a total of 14kB for en.js. A nice property of this is that more translations can be added without increasing the JS size. While I was at it, I made jsgen.pl also replace mt() function calls in cases where an exact TL string was requested without any additional arguments and/or formatting codes. This helped reduce the compressed size by about 1kB. My aim is to keep *all* the JS code of VNDB smaller than the jQuery core library, as a general "fuck you" towards users of large and bloated JS libraries. We must keep the VNDB page loading times lower than that of other sites, after all! --- ChangeLog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5087f702..9248b761 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ - Improved release filter selection interface - Added Atom feeds for the recent announcements, changes and posts (located in /www/feeds and updated every 15 min. by Multi::Feed) - - Reverted to the old selection box date selector + - JS: Reverted to the old selection box date selector + - JS: Split script.js into a separate file for each language - Improved performance of update_vnpopularity() on PostgreSQL 9.0 - Added WHEN clause to all SQL TRIGGERs for which it was useful (this *requires* PostgreSQL 9.0 or up!) -- cgit v1.2.3