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/
def cached?
false
end
This only works if you’re inside the model for that particular page.
Sean
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.
[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it
I ended up pretty much doing that…creating a new page type that’s
non-cacheable and defining that below. Thanks!