On Sat, Aug 23, 2008 at 4:12 AM, aranworld <[EMAIL PROTECTED]> wrote:
>
> Is there a way to get Cake to not overwrite an old cached view, if it
> can detect that there was a database connectivity problem?
>

Well, it seems to me that this might actually be an application logic
problem.  Here's why:

Your caching logic should be "cache the update box until a news update
comes along".  In your code that adds items that should show up in the
"news update" section should clear out the old information at that
time and cache the new stuff.

I hope I've explained myself properly.

-- 
Chris Hartjes
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to