The main issue here is the difference between the Cake caches and the
browser caches. You still want the Cake caches fully enabled, however
(especially for sites which frequently change their content, such as
news sites), you dont want the browser to keep a cached copy of the
page, or viewers migh
You should try this directive in config/core.php. It is supposed to
turn off all caching.
Configure::write('Cache.disable', true);
It is on line 71 (or close by) but commented ut.
Also make sure that you really really make the browser drop its cache
too. It is not enough to disable the cache in
Hi Ron,
Usually adding $this->disableCache(); to the beforeRender() sends the
correct headers to the browser so it won't cache the pages.
However if you're using Cake's View caching, you'll soon find out (and
rightly so) that no code from the Controllers gets executed after the
first hit. We wo