[TYPO3-dev] RealURL: pages not cached due to cHash missmatch

Stephan Helten stephan.helten at engage.de
Wed Oct 5 10:25:15 CEST 2011


Hi,

 

I have a problem with realurl and cHash.

Sometimes realurl writes a cHash value in the db decode-cache entry of a
page that does _not_ have any parameters.

tx_realurl_urldecodecache.content looks like this in that case:

a:3:{s:11:"rootpage_id";i:1;s:2:"id";s:2:"30";s:8:"GET_VARS";a:1:{s:5:"cHash
";s:32:"5b90988b017587bf78bfdea5b4a1f116";}}

 

Therefore realurl provides this cHash to typo3 when calling the page.

The tslib_fe#makeCacheHash function calculates a cHash that differs from the
above and therefore disables the cache for the page call.

 

When I delete the entry in tx_realurl_urldecodecache, realurl writes this to
tx_realurl_urldecodecache.content:

a:3:{s:11:"rootpage_id";i:1;s:2:"id";s:2:"30";s:8:"GET_VARS";a:0:{}}

 

In this case realurl does not provide a cHash to typo3 and
tslib_fe#makeCacheHash does not disable the cache (everything is fine).

 

But after several days (non-deterministic for me) realurl writes the cHash
again to tx_realurl_urldecodecache and the page is not cached anymore...

 

Does anybody can explain this behavior? Is it a bug of realurl or may it
have any other reasons?

 

regards

 

Stephan





More information about the TYPO3-dev mailing list