[TYPO3-core] RFC: Bug 4581: Duplicate entry on cache_pagesection on reloading twice

Michael Stucki michael at typo3.org
Thu Jan 25 09:00:49 CET 2007


Hi Oliver,

> Correct. Due to the no_cache thingy this is IMO reduced to a special
> case.

What I didn't write in my mail:

The patch reduces the problem, but I agree that it doesn't resolve it 
completely. The following conditions must match to make it happen again:

- page X is not in the cache yet
- user A requests the page
- AND user B requests it in the same second

If user B requests the page only a second later, the duplicate problem will 
not occur because affected_rows will be 1.

> I think this is really very ugly if Google comes to the site
> another user/spider is visiting at the same time and Google stores some
> errors in its search index.

I think it is really very ugly if a site displays PHP error messages in the 
frontend ;-)

> I tested the patch without any problems in caching behaviour. Your
> description sounds very reasonable. Thanks for the patch!

About your patch, I am now undecided. With the fix from above, it may only 
help to solve a rare problem, but it may cost problems regarding portability 
of the DBAL. If Karsten won't show up (I've sent him a note) you better let 
it be for now. Agreed?

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070125/b8d654fe/attachment.pgp 


More information about the TYPO3-team-core mailing list