Re: Action Caching... force it to use Varnish not Memcache

2011-02-20 Thread Ben Scofield
OK, I've updated the article to remove the incorrect info -- thanks for pointing it out! On Feb 20, 11:54 am, Chris Hanks christopher.m.ha...@gmail.com wrote: Yeah, that's wrong. Oren said he'd fix it last year - not sure why it still says that.

Action Caching... force it to use Varnish not Memcache

2011-02-19 Thread railsnerd
Hi everyone Is there a way to force Action Caching to cache to Varnish and not use Memcache? Yes I fully realise this might cause (?) the next request to hit Varnish and not my app, which defeats the purpose of Action Caching and I should use Page Caching... but I have my reasons :) If there

Re: Action Caching... force it to use Varnish not Memcache

2011-02-19 Thread Chris Hanks
Not sure what you mean by this. Varnish is an HTTP cache, it sits in front of your dyno and only caches the responses that it sends - you can't use it as a key-value store like memcached. When a request is handled by varnish and doesn't even hit your app, that IS page caching. If you could write