did you read what I wrote?

NAte in another post on this group: "Hi zipman, there's an
undocumented "feature" that allows you to
completely disable Cake's caching by adding this:

define("DISABLE_CACHE", true);

to app/config/core.php.  However, this is only recommended in the most
extreme unusual cases, as your application will take quite a
performance hit for having to query the database for table
descriptions
on every request.

However, it doesn't sound like table caching is your issue.  It sounds
more like an HTTP or browser cache thing.  Cake 1.2 has a new
controller method called disableCache() which will send the
appropriate
headers so that the browser does not cache your page. "

On Aug 17, 10:45 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> > Maybe excessive logging with $this->log()?
>
> As far as I can see we aren't using any logging function. As I
> mentioned, disk space isn't being eaten up so it must be temp files of
> some sort
>
> > Or is the kernel swapping to/from disk?
>
> There is plenty of RAM on this Mac (and plenty spare)
> top says...
>
> PhysMem:   489M wired,  521M active,  801M inactive, 1.77G used, 2.24G
> free
> VM: 7.71G + 86.6M   85885(3) pageins, 0(0) pageouts
>
> > Take a look at the fs_usage(1) tool,
>
> fs_usage tells me there are two tasks writing to disk, httpd and
> cronolog (the Apache server logs are piped to it). I turned off Apache
> logging and it made no discernible difference to the amount of data
> being written.
>
> I stopped the Apache server and all the disk activity stopped.
>
> So referring to my original question, does setting
> define('CACHE_CHECK', true); to define('CACHE_CHECK',false); actually
> stop cake writing cache files or only stop it from serving cached
> pages (this is what the comments in core.php seem to suggest to me).
>
> Is there a way to stop all cache writing?
>
> In some of the controllers the developer (sorry I didn't write it all
> just trying to fix it) has put..
> $this->cacheAction = '';
> Is it correct that this stops it being cached?
>
> Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to