Forum: Ruby Rack::Cache 0.2, Real HTTP caching for Ruby web apps

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ryan T. (Guest)
on 2008-10-25 07:58
(Received via mailing list)
I'm pleased to announce the initial release of Rack::Cache, a piece of
middleware that implements many of RFC 2616's caching features with a
set of storage options (disk, heap, and memcached) and a configuration
for controlling cache policy.

Introductory blog post:


Rack::Cache is suitable as a quick drop-in component to enable HTTP
for Rack-based applications that produce freshness (Expires,
and/or validation (Last-Modified, ETag) information.

  * Standards-based (RFC 2616)
  * Freshness/expiration based caching
  * Validation
  * Vary support
  * Portable: 100% Ruby / works with any Rack-enabled framework
  * Configuration language for advanced caching policies
  * Disk, memcached, and heap memory storage backends


This is a young and experimental project that is likely to change
substantially and may not be wholly functional, consistent, fast, or
The current focus is on reaching basic compliance with RFC 2616 and
good documentation.


From Gem:

    $ gem install rack-cache

With a local working copy:

    $ git clone git://
    $ cd rack-cache
    $ rake package && rake install


Rack::Cache is Copyright (c) 2008 Ryan T.
<> and
made available under the terms of the MIT license.
This topic is locked and can not be replied to.