ted serbinski – entrepreneur & web architect
  • thoughts
  • about
  • contact



Popular content

  • Backup your computer: offline backups with Mozy
  • I love dirty tea
  • SimpleFeed 1.0 ships!
  • My latest patch: fixing links and breaking modules
  • Getting Textile to work with Digg This button (and other SCRIPT tags)
  • Awesome wallpapers!
  • Blueprint Drupal Theme Released
  • Drupal admin menu bar released
  • myLifetime Community Launches
  • Live from London
more

Recent comments

  • This is a very nice tutorial
    2 days 23 hours ago
  • Yes that would wor
    6 weeks 17 hours ago
  • I’m Thanks
    6 weeks 17 hours ago
  • I’m Thanks
    6 weeks 17 hours ago
  • trial New to your blog.
    7 weeks 3 days ago
more

Topic “javascript”

JavaScript Compression

As I was re-rolling my JS aggregation patch for Drupal, I stumbled upon an interesting solution to an age old problem I’ve encountered numerous times.

When I write various JavaScript files for websites, I often like to serve them out compressed—-not only to save on bandwidth but also to speed up the loading time for users. To accomplish the task of compressing JavaScript files, I usually resort to using tools like Dojo ShrinkSafe and Dean Edward’s packer (the same compression that jQuery uses as well).

posted 29 Mar 2007
  • code
  • compression
  • drupal
  • javascript
  • jquery
  • 4 comments
  • Read more
Code examples and downloadable zip files of code are licensed under a Creative Commons License.
All other content, unless where noted, ©2012 Theodore Serbinski. All Rights Reserved.