[TYPO3-dev] Fail-safe mechanism for database connectivityproblem

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Oct 9 13:33:24 CEST 2006


John Angel schrieb:
>> How do you define "real" in this context? cachePagesToExternalFiles does
>> generate real HTM files.
> 
> 
> I know, but it puts them in temporary directory with md5 names. How about
> generating real directory hierarchy with real names?

I don't like this idea (when used for caching purposes) as those names 
might clash with other existing filenames.

> 
> There are several extensions tried to do that:
> http://typo3.org/fileadmin/t3n/articles/t3n_static_publish_english.pdf
> http://typo3.org/extensions/repository/view/dr_publisher/0.0.1/
> http://typo3.org/extensions/repository/view/real_publish/0.0.1/
> http://typo3.org/extensions/repository/view/itxg_staticexport/0.0.1/

But they don't have cashing in mind. They are for making static copies (for 
eg a CD) of the page.

> Or we can do "simulate static" + "real static":
> 1/ Apache does rewrite thing
> 2/ Typo3 tries to fetch dynamic page from database
> 3/ Database is down; Typo3 fetches real HTML page from hard disc using file
> name in http request.

2 and 3 is what I would do. What rewriting shall occur in 1?

Masi




More information about the TYPO3-dev mailing list