intermediary has asked for the wisdom of the Perl Monks concerning the following question:

Hey Guys, has anyone thought about modifying mod_defalte for apache so that it minifies text files served on the fly, in addition to gzipping them?

Replies are listed 'Best First'.
Re: mod_deflate mods
by MidLifeXis (Monsignor) on Jan 11, 2016 at 13:51 UTC

    I believe that you can add your own handler for certain mime-types. Personally, I would probably do that step as part of a build or install process.

    --MidLifeXis

Re: mod_deflate mods (Plack::App::MCCS)
by Anonymous Monk on Jan 11, 2016 at 23:57 UTC

    See Plack::App::MCCS - Minify, Compress, Cache-control and Serve static files from Plack applications

    If for no other reason for the dependencies, which you can use in filters