You're saying page caching on a mongrel only setup will just work as long as the mime-types are properly configured?
Yes. The approach is the same as with lighttpd and Apache. First the web server looks on the file system, if it doesn't find it, it'll redirect to the 404 handler, which is Rails.
So if you have /products/5.xml in public, the web server will always serve that rather than let Rails try. Thus, we need to make sure that the file is then returned with application/xml mime type.
Oh, and just out of curiosity, does 37 signals use mongrel or still lighty?
Both. We also use Apache. But newer deployments are happening on Mongrel.
-- David
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
