[Typo3-dev] Typo3 4.0 wishlist ;) <rant>

Martin Seebach martin at biplane.dk
Tue Nov 29 22:49:39 CET 2005


tir, 29 11 2005 kl. 08:39 +0200, skrev Dmitry Dulepov:

> > - page is being generated message
> This message should return "503 Service Unavailable" status with
> "Retry-after" HTTP header and "no-cache" in the body. Thus search
> engines will know that this is a temporary problem.


How about using something like this (pseudocode):

while (!page_cache_is_ready()) sleep(0.5 sec);
serve_page();

to sleep while waiting for the cache to be ready?
This will make the page appear to load slower, but eventually load -
instead of bothering the user/SE to reload the page..

// Martin




More information about the TYPO3-dev mailing list