views:

185

answers:

2

Hi all, I'm studying how to use caching in Heroku for my Rails app. HTTP cache powered by Varnish is superb and I'll use it in all pages without user info but I also want to use a kind of ActiveRecord caching with Memcached using "high livel" plugins such as cache_fu or cache-money...but it seems that Heroku supports only the memcached gem (http://docs.heroku.com/memcache) and it's a very low level Memcachad API...

Do you have any other solutions?

Thx.

+1  A: 

The ActiveSupport module has built-in cache store support that can be backed by memcached. This Railscast has the details.

John Topley
Hi John,thx, I know the ActiveSupport module for cache/memcached but I want to use (in Heroku) on of plugins that help me to transparently bind ActiveRecord objects through memcached...
zetarun
+1  A: 

Checkout http://github.com/teich/heroku-cache-money. I'm about to do the same.

Joseph Ridgway
Thanks, I will try it! :)
zetarun