Manually purging cache entries

13 views
Skip to first unread message

Pat Nakajima

unread,
Feb 1, 2009, 1:09:43 AM2/1/09
to rack-cache
What's the roadmap for manually purging cache entries? I'd love to
start work on this feature, and if you have any advice, that'd be
great.

Ryan Tomayko

unread,
Feb 2, 2009, 5:27:04 PM2/2/09
to rack-...@googlegroups.com

I have no time set aside to work on this atm so do feel free to take. I
imagined Rack::Cache putting some kind of object in Rack's env that could
be used by downstream components to purge entries.

e.g., an app would be able to do something like:

env['rack-cache.purgethingy'].invalidate '/foo/bar'

Interestingly, this involves both of the hard problems in CS: naming
things and cache invalidation :)

Also, I've noticed your github fork and plan on reviewing sometime within
the next few days. If you run into any snags or have any questions, this
is the place to post about it.

Thanks
--
Ryan http://tomayko.com/about

Reply all
Reply to author
Forward
0 new messages