# Page Level Caching

**URL:** <https://www.ruby-forum.com/t/page-level-caching/104618>\
**Category:** Radiant CMS\
**Created:** [May 20, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618 "2007-05-20T19:53:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Rowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Post date:** [May 20, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618/1 "2007-05-20T19:53:57Z")

</div>

I’ve been searching the archives and google for a way to do this, but  
can’t  
find what I’m looking for.

Is there a way to disable caching on a particular page? I don’t want to  
disable it for the entire site, just one page I’ve set up. Thanks.

* * *

-Bill  
[http://billrowell.com/](http://billrowell.com/)

---

<div class="post-metadata">

**Author:** ![Bill\_Rowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Post date:** [May 20, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618/2 "2007-05-20T20:52:08Z")

</div>

def cached?  
false  
end

This only works if you’re inside the model for that particular page.

Sean

---

<div class="post-metadata">

**Author:** ![Bill\_Rowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Post date:** [May 20, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618/3 "2007-05-20T21:34:16Z")

</div>

Il giorno 20/mag/07, alle ore 19:53, Bill Rowell ha scritto:

> I’ve been searching the archives and google for a way to do this,  
> but can’t  
> find what I’m looking for.
> 
> Is there a way to disable caching on a particular page? I don’t  
> want to  
> disable it for the entire site, just one page I’ve set up. Thanks.

Why you want to disable cache on a page?  
If you want to clear its cache when some of its children is updated/  
created/destroyed, you can use the Dynamic extension. Let me know if  
it’s what you need!

* * *

Andrea F.

removed\_email\_address@domain.invalid  
[http://bigchieflabs.com/blog/](http://bigchieflabs.com/blog/)  
[http://think.bigchief.it](http://think.bigchief.it)

---

<div class="post-metadata">

**Author:** ![Bill\_Rowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Post date:** [May 20, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618/4 "2007-05-20T21:36:16Z")

</div>

I ended up pretty much doing that…creating a new page type that’s  
non-cacheable and defining that below. Thanks!
