3 ms·
Agreed, there's nothing here that couldn't have been done 5 years ago with perl and CPAN. But, I think this post is relevant for two big reasons: 1. Sinatra an
by aditya 18y ago
Agreed, there's nothing here that couldn't have been done 5 years ago with perl and CPAN. But, I think this post is relevant for two big reasons:
1. Sinatra and Rack are amazing lightweight alternatives (especially for web services) compared to the giantness that is Rails.
2. Rack::Cache is seriously awesome (http://tomayko.com/src/rack-cache/ http://tomayko.com/src/rack-cache/) and deserves more attention...
- aaronblohowiak 18y agoRack::Cache is neato for development, but you're better served using Varnish for production -- it acts as a caching reverse proxy to multiple machines, is insanely fast and battle-tested, it can be configured to serve stale content if the backend becomes unreachable, it supports ESI, and more! And yes, Sinatra & Rack are super cool.