[TYPO3-dev] Fail-safe mechanism for database connectivity problem
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Fri Oct 6 09:38:40 CEST 2006
John Angel schrieb:
>
> Please advise.
In what way do you need advice? What you want should be technically
possible as there is an "on-chache" hook that allows you to write a page to
the file system or do whatever you want.
For the DB part you have probably to hack into the initialization code to
fetch you cached copy from the disk. Remember that you need a URL-to-file
mapping that does not rely on the DB (perhaps a clever naming scheme or a
eg Berkely DB file DB), but beware of simualte static and Real URL!
The next issue is that you need to deal with the fact that there are
possibly pages affected by user sessions (eg restricted areas) and of
course all the non-cached dynamic pages. I have no idea what to do woth
them except to present a "not-available" page in the site design.
Masi
More information about the TYPO3-dev
mailing list