AD7six wrote:
> do you have 2 find calls in the same method?
>
> i.e do you have
>
> $Model->find
> .. do something and maybe save
> $Model->find
>
> ?
>
> If you do - set cacheQueries = false on the model at the beginning of
> your action (or anywhere else appropriate) so that it doesn´t take th
Zipman,
I was having the same problem and determined it was the browser doing
the caching. The only way I was able to overcome this was by adding
"?ms=" + new Date().getTime()" to my action links. This is some
javascript that simply tacks a unique timestamp to the link to ensure
it is never cac
do you have 2 find calls in the same method?
i.e do you have
$Model->find
.. do something and maybe save
$Model->find
?
If you do - set cacheQueries = false on the model at the beginning of
your action (or anywhere else appropriate) so that it doesn´t take the
result from memory for subsequent
Yes,that's the case. I get different results when i access a link
than when i press F5.
When i set /app/tmp/cache/models folder not to be writeable i have no
problem.
But even my browser( firefox) is the problem(I'm using a plugin through
which I disable cache) how can i surpass this ,so that no c
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
Hi zipman,
are you sending cache headers with your files? If you get a different
result when you access a link from when you press "F5" (or equivalent)
surely that indicates that your browser is taking the page results from
it's cache.
So: what exactly are you doing ;), how can this be reproduce
Thanks for the reply.
But what if I am in production level? (for me it doesn't work even when
debug=1).
Should i change the permissions for the folder models so that it is not
writeable?(That works)
Isn't there any property in any file, that doesn't allow cache for
models?
--~--~-~--~---
On 9/11/06, zipman <[EMAIL PROTECTED]> wrote:
>
> I have a model and I save some data through a form in the according
> table.
> The problem is that when I go to the link that regards the function
> that retrieves
> the data from the database and just presents them, the new data are not
> shown,
>