in reply to Re: TinyMCE Perl Compressor
in thread TinyMCE Perl Compressor

Yes, most can do, but a lot of people don't (or don't know how to) set it up.

The gzip'ing is just part of the benefit. The other part is that you reduce maybe 6+ separate requests into one, and that it adds an Expires: header which essentially means that people will never need to download the javascript more than once per session.

I can't take any credit for the idea - I just took what existed in PHP and rewrote it for use on a Perl platform.

Replies are listed 'Best First'.
Re^3: TinyMCE Perl Compressor
by jZed (Prior) on May 03, 2007 at 17:06 UTC
    start blasphemy

    Can you point me to the PHP you based it on, I've got a Drupal install that could use it.

    /end blasphemy
Re^3: TinyMCE Perl Compressor
by diotalevi (Canon) on May 03, 2007 at 19:41 UTC

    Ah, I didn't also realize it combines multiple files together. I do that at work with a CPP-like program that understands declarations like ///#include "foo.js".

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊