[TYPO3-dev] [?? Probable Spam] Re: Fail-safe mechanism for database connectivityproblem

Dmitry Dulepov dmitry at typo3.org
Mon Oct 9 10:12:56 CEST 2006


Hi!

Martin Kutschker wrote:
> Are you talking about the error pages? I was talking about the cached 
> pages.

Error pages.

> Basically the fail-safe mechanism we're talking abvout here is trying to 
> use a disk-based cache without any DB access.

This will not work with USER_INT objects on pages. Most of sites that I made have USER_INTs at least on front page. So caching to files will not be useful. Also if page does not exist in cache, we still have to show static page with nice error message.

> So what do we miss without 
> DB? Apart from truly dynamic content only the session info. The mapping 
> from the URL to the cache file should be done completely without DB. 
> IMHO you don't need it to resolve the L-parameter (eg by adding it to a 
> md5-hash for cache-file-lookup).

For static pages - yes.

It seems that we have two possibilities now:
(1) single error pages (similar to 404 handling)
(2) static pages

I plan to make number 1 for now. Number 2 may follow :)

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-dev mailing list