[!!!][FEATURE] Allow individual content caching 15/35915/15
authorPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 9 Jan 2015 03:55:56 +0000 (04:55 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 30 Jun 2015 09:00:40 +0000 (11:00 +0200)
commitd520003e0cd703a3909986e0d49ada1e80b00f7c
treea38e4951c8963f84e28b059089559fda8c6a2266
parent902f12af17f0962ab4df617d5670a474a777b0b7
[!!!][FEATURE] Allow individual content caching

Since TYPO3 4.7 'stdWrap.cache' is available. This stores the rendered
string into the cache_hash via the caching framework and retrieves it
on successive renderings.
However stdWrap kicks in too late for many cObjects, e.g. COA.

Moving the 'cache.' logic into the central render method avoids the
rendering of the cObject, thus gaining a major speed improvement if
a cache entry already exists for a cObject.

Custom cObjects and USER objects utilizing the 'cache.' property need
adoption.

This change allows to make effective use of page section caching to
share the same generated HTML across many pages without regeneration.
It provides the same power as Magento block caching.

Additionally the properties key, lifetime and tags get stdWrap support.

Resolves: #64200
Releases: master
Change-Id: Ic0776082e09c70e03a9b432b41207031b4f2efa6
Reviewed-on: http://review.typo3.org/35915
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Documentation/Changelog/master/Breaking-64200-CustomCObject.cache.TypoScriptEvaluation.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-64200-AllowIndividualContentCaching.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php