Find out whether page is cashed from view


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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs