In my post_index action, I generate different kinds of "@posts" like..
@posts = get_all_post_from_memcached
@posts = get_all_most_popular_from_memcached
respond_to do |format|
format.js #for ajax reqeusts
format.xml #for rss etc
From what I understand fresh_when takes a etag, and it is to be used
if there is no difference in different kinds of rendered (in my case
the rendering is different based on html or ajax)
stale? also takes an etag and surrounds the respond_to block.
In this case the etag will be different based on the different listing
types. But it seems there isn't much flexibility in the way fresh_when
or stale? can be used here?