Displaying 1 result from an estimated 1 matches for "excludeoneor".
2007 May 29
4
cache everything but...
...-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> withfragmentcachingonecancacheparts 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 excludeoneor more areas from the cashing and fill them with dynamic
> content instead. A good example would be a page whereallcontent would
> be perfectly cachablebutonetiny line saying ''logged in as
> [username]''.
>
> Wouldn''t a mechanism for doing this more elegantly...