This is what is currently happening to a site I have:
1) person visits site's home page, which contains an element which
displays the top news stories from the database
2) since the element is set to be cached, a cached view file is set
with an expiration of 3 hours
... 2 hours later ...
3) the
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:
You can check with ConnectionManager if database is connected (in
app_controller __construct() )
if not connected use clearCache() to clear your views cache.
On Aug 23, 10:12 am, aranworld [EMAIL PROTECTED] wrote:
This is what is currently happening to a site I have:
1) person visits site's