It looks to me that when i use a file based caching, and if append messages in my templates(based on user action), that particular page(with message) also gets cached. Since 'these' pages would never be created again, what is the best possible option? (Well, i just used file-based cache to quickly see what was happening, but i guess the same happens for any other cache mode too)
One thing that i could think of is use cache-fragments for the rest of the sections in the template and leave out the 'div' which displays the messages.
Any other solutions or comments?