Matt S Trout wrote:
On Thu, May 31, 2007 at 12:14:58PM -0400, Jim Spath wrote:
Compress::Deflate and Static::Simple seem to conflict with each other. The result of this is that CSS files don't get served properly.

Compress::* are deprecated; let your webserver do that.

We tried... but had problems building a version of lighttpd with compression built in. We're currently awaiting the release of 1.5.0 and a new package for it.

Consider CPANPLUS::Dist::Deb as an alternative to dh-make-perl or try

http://debian.pkgs.cpan.org/

Very nice... these will make our sys admin happy!  :)

PS - On a side note, is it possible to change which plugins are loaded depending on whether Catalyst is launched from myapp_server.pl or myapp_fastcgi.pl? This would be helpful...

in MyApp.pm

sub setup_plugins {
  my ($class, $plugins_arrayref) = @_;
  <do something based on $class->engine>
  $class->next::method($plugins_arrayref);
}

Perfect! Thanks. This will allow me to continue to use Compress::Deflate on production, but not on development, so I can run it command line.

- Jim

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to