[TYPO3-core] problem with caching still exists in current CVS

Dmitry Dulepov dima at spamcop.net
Wed Mar 8 07:49:18 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Dmitry Dulepov wrote:
> Michael Stucki wrote:
>>> IMPORTANT: Dmitry, please have a look at the patch because it was introduced
>>> by your tempContent extension to the cache table.
> 
> I do not remember now why removed line was needed at that exact place
> but there was a reason. I will take a look during today.

I found. $this->tempContent must be false before calling
$this->setPageCacheContent() in $this->realPageCacheContent(), otherwise
cache may have "tempContent" flag set for this page and will be treated
as temporary content ("Page is being generated") next time when it is
loaded from cache. This will case all pages to be sent with "503 Service
unavailable" header. Users will see them normally in browser but search
engines will skip them.

I think the attached patch should fix this but I cannot not test it
right now (I am at work till 19:00 GMT+2). I can do it only in the evening.

Dmitry.
- --
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFEDn5uRVcYnKJ8N6kRAnETAKDQ88ERStnqdkQ6OANEPMyBB+IBrgCgwzG1
XqeEguoirjsPDR3rnGWXJFA=
=Po6f
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: temp_content.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060308/47d0b3fc/attachment.txt 


More information about the TYPO3-team-core mailing list