Find out whether page is cashed from view

Hi,

I am wondering whether there is a way to find out whether page cashing
is turned on for the currently rendered page, either from the controller
of from a view. I would like to render things differently depending on
whether a pages gets cached or not.

Thanks for any hint!
Ingo