Cache Question

2010-10-28 Thread Dave Maharaj
What are the limitations of Caching data? If you cache various data for users / posts and such and say you have 100k users with 10 different cached datasets for example is this possible (1 million cached files)? Is there a limit that can not be exceeded (other than hosting limitations of spac

Re: Homepage Sweeper (clear cache) Question

2010-08-08 Thread cricket
On Sat, Aug 7, 2010 at 2:01 PM, andy wrote: > Hi all, > > Has anyone made a CakePHP project where you have a homepage that pulls > information from various models (ex: calendar events, news articles, > etc.) and displays it on said homepage? > > In Rails I did something like that in the past... an

Re: Homepage Sweeper (clear cache) Question

2010-08-07 Thread iamcam (Cameron Perry)
You can use some of the model hooks (like after save) to clear the cache, then call a method that rebuilds it, or the appropriate parts. You might also consider storing separate caches for each component/ model whenever it's updated. With the home page idea, you can create a controller with no mod

Homepage Sweeper (clear cache) Question

2010-08-07 Thread andy
Hi all, Has anyone made a CakePHP project where you have a homepage that pulls information from various models (ex: calendar events, news articles, etc.) and displays it on said homepage? In Rails I did something like that in the past... and I was able to clear the cache for the homepage whenever

Re: Cache question

2009-10-11 Thread Dr. Loboto
Call $this->disableCache(); for sensitive actions. Or call it always when logged in. On Oct 11, 11:33 pm, "Dave Maharaj :: WidePixels.com" wrote: > I have an element that when the user logs in says Welcome Test Account One > (being my dummy user's name) > > I logout and login as a different user

RE: Cache question

2009-10-11 Thread Dave Maharaj :: WidePixels.com
Firefox believe it or not. -Original Message- From: euromark (munich) [mailto:dereurom...@googlemail.com] Sent: October-11-09 2:15 PM To: CakePHP Subject: Re: Cache question did you experience that in the almighty crap-explorer IE? On 11 Okt., 18:33, "Dave Maharaj :: WidePixel

Re: Cache question

2009-10-11 Thread euromark (munich)
did you experience that in the almighty crap-explorer IE? On 11 Okt., 18:33, "Dave Maharaj :: WidePixels.com" wrote: > I have an element that when the user logs in says Welcome Test Account One > (being my dummy user's name) > > I logout and login as a different user and it shows Welcome Test A

Cache question

2009-10-11 Thread Dave Maharaj :: WidePixels.com
I have an element that when the user logs in says Welcome Test Account One (being my dummy user's name) I logout and login as a different user and it shows Welcome Test Account One until i hit refresh then it shows Test Account Two I have wrapped the element in a block. Logout destroy sessi

Re: Controller/Action Cache question

2009-04-03 Thread Miles J
3 - Also, is supposed to be visible in the source? Because I see it when testing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To uns

Controller/Action Cache question

2009-04-03 Thread Miles J
So im reading up on this page: http://book.cakephp.org/view/346/Caching-in-the-Controller I had a few questions. 1 - Does the $cacheAction only cache the html? Or does it also cache the queried results alongside the html, so that it doesn't do another query? 2 - And im assuming the works for

Re: Semi Basic Cache Question

2008-03-04 Thread Dardo Sordi Bogado
You can specify it to cache an action, so it will cache every request /jobs/item/$id . The manual says that you can specify to cache an action for an specific id, for the entire action, or the controller. On Mon, Mar 3, 2008 at 9:50 PM, rpupkin77 <[EMAIL PROTECTED]> wrote: > > Hi, > > I am look

Semi Basic Cache Question

2008-03-03 Thread rpupkin77
Hi, I am looking into frameworks for a site build, my concern is caching for one particular call. I looked in this group but could not find an exact answer. Background In any event, the site uses a hodge podge of freely available government databases (or db tables created from xls files) There a

Re: Cache Question

2007-08-13 Thread alan
Caching is basically required for any data-heavy or interaction-heavy site... but you need to be in control of who gets what cache; more specifically, you need to be sure people only get their own cached content. Cake < 1.2 has caching... great caching if your contact is the same for everyone...

Re: Cache Question

2007-08-07 Thread Feris Thia
On 8/7/07, MattC <[EMAIL PROTECTED]> wrote: > > Feris, > You could try putting your code in the constructor for your > controller. I'm not sure if this is even possible though, since the > controller gets called from the cache file itself, so deleteing the > cache file at this point may already b

Re: Cache Question

2007-08-07 Thread MattC
Feris, You could try putting your code in the constructor for your controller. I'm not sure if this is even possible though, since the controller gets called from the cache file itself, so deleteing the cache file at this point may already be too late. -Matt www.pseudocoder.com On Aug 6, 1:04 p

Cache Question

2007-08-06 Thread Feris Thia
Hi All, I have in my controller a caching of one of my view and cache deletion mechanism in beforeFilter, I know it doesn't make sense... but just try to add to see what is going on. --- var $cacheAction = array( 'detail/' => 21600 );