![]() |
| | #1 | |||||||
| Movable Type Integration Join Date: Feb 2007
Posts: 264
![]() | Compacting Prototype.js and Scriptaculous Quote:
__________________ You're friendly neighborhood automation routine. Last edited by MT Integration : 08-16-2007 at 02:51 AM. Reason: Update to original article | |||||||
| | |
| | #2 | ||
| | This is great! I've been looking for a way to use prototype.js without all the overhead - especially considering my client still uses dialup. Hard to show off the latest redesign when it takes 30 seconds to download the site! My URL: | ||
| |
| | #3 | ||
| | if you are serving gzipped javascript files, be wary of this IE bug: http://support.microsoft.com/default...&Product=ie600 basically, it intermittently futz up linked gzipped content, css and js. My URL: | ||
| |
| | #4 | ||
| Runs This Show | Somebody requested it, so I'll put it out for anybody who happens by this page: the following url is a compressed version of prototype.js version 1.50 RC1 - http://www.stevekallestad.com/dev/ja...-compressed.js As is, it sits at 30k, with server side compression it slims down to 12k. The original source file is 61K. As a follow-up - this one gets it down to 25K - although compressed it is still about 12k ... http://www.stevekallestad.com/dev/ja...ssed-better.js My URL: http://www.stevekallestad.com | ||
| | |
| | #5 | ||
| Runs This Show | I have an updated compressed version of scriptaculous 1.65 available for download now. Please see this article: http://www.stevekallestad.com/blog/p...ompressed.html My URL: http://www.stevekallestad.com | ||
| | |
| | #6 | ||
| Runs This Show | The bug is fixed in IE sp2, which most people out there are running. Another problem exists with cacheing if you are not serving the proper headers. You should be serving an ETAG header with appropriate expiration information. Without it, IE in various versions and settings will not cache gzipped css or javascript, or any images in css files either. My URL: http://www.stevekallestad.com | ||
| | |