[cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

George Hartzell hartzell at alerce.com
Sat Sep 20 21:55:38 EDT 2008


Ricardo SIGNES writes:
 > * Michael Peters <mpeters at plusthree.com> [2008-09-17T12:37:04]
 > > Bradley C Bailey wrote:
 > > 
 > > >In CAD::Server it tries to serve files staticly first before sending to
 > > >dispatch.  I think the best solution would be to specify a way to mark an
 > > >entry point in the CA::Server config to specify static content. 
 > > 
 > > This would also improve performance since static content is more common 
 > > than non-static (each non-static page probably links to at least a dozen 
 > > static files).
 > 
 > Patches welcome.

I realized that I left some of the original code commented out in the
static-content.patch branch.  I cleaned it up, tested it again,
updated the copy at http://shrimp.alerce.com/cgiapp, and have attached
the cleaner copy here for posterity.

Sorry for the noise.

g.



More information about the cgiapp mailing list