[TYPO3-core] RFC: #10791: Performance improvement: Skip cHash check if page is already non-cached

Ingmar Schlecht ingmar at typo3.org
Fri Apr 3 14:20:21 CEST 2009


Hi Stucki,

I wonder why the function is called at all then...

I would prefer not calling it if it isn't necessary, instead of this
early return.

cheers
Ingmar


Michael Stucki schrieb:
> This is a SVN patch request.
> 
> Type: Bugfix / performance improvement
> 
> Problem:
> TYPO3 compares the cHash parameter against the computed checksum of all
> GET parameters. In case the checksum does not match,
> $TSFE->set_no_cache() is triggered.
> 
> Actually this is not needed if $TSFE->no_cache is already set.
> 
> Solution:
> Return if $TSFE->no_cache is already set.
> 
> Branches: Trunk only
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=10791
> 
> - michael
> 


-- 
Ingmar Schlecht
TYPO3 Core Developer


More information about the TYPO3-team-core mailing list