Ok, I think I understand what you're getting at. Yeah, you can tell Varnish to cache a specific rendered page, but that wouldn't be action caching, hence the confusion.
Anyway, Varnish will cache anything that has a Cache-Control header. So for example, to cache a specific page in Varnish for 5 minutes, you would do: response.headers['Cache-Control'] = 'public, max-age=300' if your_condition You could also tell rails to not action cache at all in that case: caches_action :index, :unless => :your_condition On Feb 19, 8:38 pm, railsnerd <rails.n...@gmail.com> wrote: > Yes I understand that and am OK with the consequences > > I just want to force Action Cache to force a Page Cache on certain > occasions -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.