[TYPO3-dev] Create a cHash manually from a given URL

Helmut Hummel helmut.hummel at typo3.org
Fri Sep 12 18:41:11 CEST 2014


Hi Olle!

On 12.09.14 14:38, Olle Haerstedt wrote:

> Can I create a cHash value from a given URL? I removed a lot of link action view helpers because they are slow (!). So now I need to manually create cHash values. Anyone know how?

\TYPO3\CMS\Frontend\Page\CacheHashCalculator is what you are looking 
for. Use the method generateForParameters() to calculate the cHash for a 
given query string.

Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list