Re: cache issues

2008-04-10 Thread Dave J
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

Re: cache issues

2008-04-10 Thread [EMAIL PROTECTED]
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

Re: cache issues

2008-04-10 Thread Dave J
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