[ANN] Rack::Cache 0.2, Real HTTP caching for Ruby web apps

R

Ryan Tomayko

I'm pleased to announce the initial release of Rack::Cache, a piece of Rack
middleware that implements many of RFC 2616's caching features with a basic
set of storage options (disk, heap, and memcached) and a configuration system
for controlling cache policy.

http://tomayko.com/src/rack-cache/
http://github.com/rtomayko/rack-cache/

Introductory blog post:

http://tomayko.com/writings/rack-cache-announce

Features
--------

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
* Vary support
* Portable: 100% Ruby / works with any Rack-enabled framework
* Configuration language for advanced caching policies
* Disk, memcached, and heap memory storage backends

Status
------

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

Installation
------------

From Gem:

$ gem install rack-cache

With a local working copy:

$ git clone git://github.com/rtomayko/rack-cache.git
$ cd rack-cache
$ rake package && rake install

COPYING
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top