summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-11-25 17:22:58 +0100
committerYorhel <git@yorhel.nl>2010-11-25 17:38:16 +0100
commit625871cba8a2fe71c70b3d2946a5f37993d1f263 (patch)
tree1288db3b6ea43467251a6039a26e861326f0babe /ChangeLog
parent7004c8352cda3c81e547aabc037fd9ec7f03172c (diff)
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!
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 2 insertions, 1 deletions
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!)