Caching with Cedar/Memcache/Rails 3.1
So I have been trying to get caching to work on my private website, which basically just serves static stuff with little dynamic stuff in it. Since I am going to deply to Heroku Cedar, I have to go with Memcache instead of Varnish. However, I do not seem to be able to make it cache.
I always get cache: stale, invalid, store.
开发者_运维问答The way I cache is to set the appropriate config params, and use the built-in cache_pages method of ActionController. Can someone help me debugging this?
I see the same. But it looks like page caching works.
So i decided to use Cloudflare for caching, after a couple days of running, i received significant boost in performance/caching.
精彩评论