@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudia
Sent: 4. marts 2008 18:09
To: Cake PHP
Subject: view caching problem
Hi there
I have a question regarding view caching:
I have a controller foo where I want to cache the result of action
bar.
Therefore I put a line
Hi there
I have a question regarding view caching:
I have a controller foo where I want to cache the result of action
bar.
Therefore I put a line
$this-cacheAction = 3600;
in the action.
The cache file is created fine, but when I fetch a page from the cache
it takes almost as much time as
: view caching problem
Hi there
I have a question regarding view caching:
I have a controller foo where I want to cache the result of action
bar.
Therefore I put a line
$this-cacheAction = 3600;
in the action.
The cache file is created fine, but when I fetch a page from the cache
it takes almost
On Jan 29, 10:33 pm, Langdon Stevenson [EMAIL PROTECTED]
wrote:
Thanks for both of your input. However what I am looking for is a
definitive answer to the question:
Does the example in the manual work?
The manual makes no hint as to where $newProducts comes from (that
example?), if it
Hi AD7six
I hadn't thought about using data stored in a session. That would be
useful.
I have just used the suggestion in this thread to use requestAction().
I put it in the view rather than in an element and it works fine.
The page request time is about half what it would be without
On Jan 31, 10:38 am, Langdon Stevenson [EMAIL PROTECTED]
wrote:
Hi AD7six
I hadn't thought about using data stored in a session. That would be
useful.
I have just used the suggestion in this thread to use requestAction().
I put it in the view rather than in an element and it works fine.
Hi AD7six
I can see that my previous post wasn't clear :-) I get the following
performance:
No cache, no requestAction: 6 seconds
Cache, no requestAction: 1 second
Cache, with requestAction: 3 seconds
The action called by requestAction is pretty light weight, so while it
steals about
hi,
I have similar problem with Langdon Stavensen. how to pass dynamic
params to requestAction in cake:nocache situation?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
Well, I can't sleep tonight, so I thought that I would have a go at
implementing view caching in a project that I want to squeeze better
performance out of.
I have followed the steps listed in the manual to turn on and implement
view caching in the controller. The view however has three
To partly answer my own question see:
http://groups.google.com/group/cake-php/browse_thread/thread/be6b3f1e9d1aaf49/f5d5b809770cff3b
It seems that view caching is only useful when there is no requirement
for dynamic sections of content in a page. Is this really the case?
Cant you just
On 1/29/07, Kaste [EMAIL PROTECTED] wrote:
f49/f5d5b809770cff3b
It seems that view caching is only useful when there is no requirement
for dynamic sections of content in a page. Is this really the case?
Um, well, isn't caching the storing of previously-produced output?
Would you agree
Am Mon, 29 Jan 2007 19:43:24 +0100 schrieb Chris Hartjes
[EMAIL PROTECTED]:
On 1/29/07, Kaste [EMAIL PROTECTED] wrote:
f49/f5d5b809770cff3b
It seems that view caching is only useful when there is no requirement
for dynamic sections of content in a page. Is this really the case?
On 1/29/07, Kaste [EMAIL PROTECTED] wrote:
this might work, but, again, cake would access/render/insert 10
elements/files just because of the usual logged-in-user-area. #
I know I sound like a broken record here, but you can't have it both
ways. You can't have an entire view cached if you
I know I sound like a broken record here, but you can't have it both
ways. You can't have an entire view cached if you have any dynamic
content in it. I think to do the type of caching you require, which
is to have some dynamic content mixed in with cached content, you will
require custom
On 1/29/07, Kaste [EMAIL PROTECTED] wrote:
as i said, requestAction in your element will do the trick.
Kaste,
Thanks for pointing that out. Something to definitely write down in
my list of things to remember when building CakePHP apps.
--
Chris Hartjes
My motto for 2007: Just build it,
15 matches
Mail list logo