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
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
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
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
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
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
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
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
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
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
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
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
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...
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
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
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
);
16 matches
Mail list logo