Forum: Ruby on Rails all-but-fragment caching suggestion

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3504745159d79c585e4f7df8df76aa10?d=identicon&s=25 Ingo Weiss (ingoweiss)
on 2007-02-16 16:10

with fragment caching one can cache parts of a page. However, more often
than not what I would need is the exact opposite approach. I would like
to be able to use action cashing and have a mechanism for telling Rails
to exclude one or more areas from the cashing and fill them with dynamic
content instead. A good example would be a page where all content would
be perfectly cachable but one tiny line saying 'logged in as

Wouldn't a mechanism for doing this more elegantly be a great addition
to Rails? Or am I missing something and this is in fact currently

This topic is locked and can not be replied to.