Ben J. Christensen

Software Development and Other Random Stuff

Javascript optimization?

From what I can tell … the best bets are:

Use this to minimize file size: http://alex.dojotoolkit.org/shrinksafe/

Then enabled mod_deflate rather than mod_gzip

… make sure Apache is doing compression in memory, and not on the filesystem.

Then, actually change JS and CSS filenames each time they change so we can forcefully set very long cache refresh times so they never expire.


Filed under: Performance, User Interface

Leave a Reply

Twitter Updates

  • I *really* wish iBooks and Kindle would let me copy/paste text so I can quote a sentence or paragraph! Ridiculous that I can't. 22 hours ago
  • Great weekend (and ‘food tourism’) in Los Angeles. "Sooo fun!" as described by a certain short person when asked on the drive home. 23 hours ago
  • Small world! Just ran into a colleague from work - a 7hr drive from the office! 1 day ago
  • We made it to LA! Feels like returning home :-) 3 days ago
  • Peter Pan Baby http://twitpic.com/2kg6n4 5 days ago
View Ben Christensen's profile on LinkedIn