[Catalyst] Re: Opinions on static::simple - with caching

Aristotle Pagaltzis pagaltzis at gmx.de
Tue Feb 1 13:08:12 GMT 2011


* Toby Corkindale <toby at dryft.net> [2011-02-01 03:25]:
> The case that I find having the headers enabled is as follows:
>
> Front end load-balancing proxies, talking to app servers
> running starman, running catalyst apps.
> If you use Static::Simple, this does make the pipeline
> configuration nice and simple.
> I like simplicity.
> If you enable caching on your static content, then your
> reverse-proxies at the front will cache things, and take the
> load of static content off Catalyst at the back.
>
> I'd like to see it as an option on Static::Simple; I could mod
> that and send a patch over if you liked?

You may be interested in my setup:
http://blogs.perl.org/users/aristotle/2011/01/some-nifty-things-you-can-do-with-catalyst-on-plack.html

-- 
*AUTOLOAD=*_;sub _{s/::([^:]*)$/print$1,(",$\/"," ")[defined wantarray]/e;chop;$_}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list