rtomayko / rack-cache

Real HTTP Caching for Ruby Web Apps
http://rtomayko.github.io/rack-cache/
Other
822 stars 124 forks source link

custom store? docs? API? #82

Open jrochkind opened 11 years ago

jrochkind commented 11 years ago

Are there any docs or documented API for writing a new back-end store?

For my own odd purposes, I would like to use a store backed by ActiveRecord (yes,obviously not very performant, but suits my needs).

I could write it up and submit a pull request... but this is probably not of general interest. Is there any way for me to create a Rack::Cache store that lives in it's own gem, and still works with Rack::Cache?