# Find out whether page is cashed from view

**URL:** <https://www.ruby-forum.com/t/find-out-whether-page-is-cashed-from-view/92611>\
**Category:** Rails\
**Created:** [April 21, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/find-out-whether-page-is-cashed-from-view/92611 "2007-04-21T15:43:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [April 21, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/find-out-whether-page-is-cashed-from-view/92611/1 "2007-04-21T15:43:50Z")

</div>

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
