Stupidly simple Rack middleware for caching responses with Memcached. It should be easy to hack and customize for your own caching/expiry policies (which may not be standards-compliant, but perhaps faster and more effective). Use Rack::Cache if you want standards-compliant caching and expiry.