[Catalyst] A different approach to static content

Christopher H. Laco claco at chrislaco.com
Tue Aug 16 21:35:44 CEST 2005


Wade.Stuart at fallon.com wrote:
> 
> 
> 
> 
> 
>>Then I guess the real answer is, if you want the best static performance
>>and need to intermingle static and Catalyst in the same /, then one
>>would have to manually create Location/LocationMatch directives and
>>set-handler to PerlHandler/MyApp and let the other content fall through
>>without going through Catalyst for every request; static or not.
>>
> 
> 
> Jackpot.  Or the recommended solution (IMHO) is if you want the best static
> speed and don't want to touch your config directives, don't overlap Cat app
> and static space, or do so in such a fashion where the static space lives
> in a
> tree that only requires one location setting and drills down from there.
> 
> 
> 
> 

Ok, so if we agree on the first paragraph in the intermingled situation, 
all I'm suggestion is automating the creation of Locaiton/LocationMatch 
blocks. :-)

-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20050816/2b8dbfc5/smime.bin


More information about the Catalyst mailing list