Can I use Rack::Cache with Rails Metal?

28 views
Skip to first unread message

diegorv

unread,
Aug 26, 2009, 1:38:41 PM8/26/09
to rack-cache
Hi, I`m trying use Rack::Cache inside the Rails Metal.

I`m searching any example, but i didn`t find.

Anyone already test it?

Thanks

Ryan Tomayko

unread,
Sep 2, 2009, 2:20:09 AM9/2/09
to rack-...@googlegroups.com

I don't think it's possible to use Rack::Cache as metal. I'm not sure
why you'd want to, though, since it's so easy to use it as Rails
middleware. Check out these instructions for more info:

http://snippets.aktagon.com/snippets/302-How-to-setup-and-use-Rack-Cache-with-Rails-2-3-0-RC-1

Is there some reason to use metal over middleware?

Thanks,
Ryan

Reply all
Reply to author
Forward
0 new messages