Path: | README |
Last Update: | Mon Aug 13 13:33:21 +0000 2012 |
Rack::Cache is suitable as a quick drop-in component to enable HTTP caching for Rack-based applications that produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information:
* Standards-based (RFC 2616) * Freshness/expiration based caching * Validation (If-Modified-Since / If-None-Match) * Vary support * Cache-Control: public, private, max-age, s-maxage, must-revalidate, and proxy-revalidate. * Portable: 100% Ruby / works with any Rack-enabled framework * Disk, memcached, and heap memory storage backends
For more information about Rack::Cache features and usage, see:
Rack::Cache is not overly optimized for performance. The main goal of the project is to provide a portable, easy-to-configure, and standards-based caching solution for small to medium sized deployments. More sophisticated / high-performance caching systems (e.g., Varnish, Squid, httpd/mod-cache) may be more appropriate for large deployments with significant throughput requirements.
Installation