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. > > The page request time is about half what it would be without caching, so > I think that I am getting at least 50% of the benefit of caching. I am
Hi Langdon, You might want to compare: Not using cache and not using requestAction with Not using cache and using (1) requestAction with Using cache and using (1) requestAction with Using cache and not using requestAction I would bet you get (approximately) 1:1.5:1:0.2. I.e. using requestAction within a cached file pretty much defeats the purpose. Obviously that is quite dependent on what the main page controller is doing. > I am starting to get a feel for how to use view caching and > <cake:nocache>. It really requires (for complex pages) that you plan in > the view caching from the start. Indeed :) HTH, AD7six --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
