Topic: caching everything but the flash[:notice]
I'm working on tuning my app to really go quick using things like caches_action and caches_page. In more than a few instances, I'd like to cache the entire page (it could be a static page) except for the few instances where an exception might occur.
In particular, I'm thinking of my login page. The XHTML will not change, but if there is an incorrect login, I need to display that message. Is there a way to cache the action or page, maintain the flash message and not use the fragment caching?