Skip to content
Snippets Groups Projects
Commit d520003e authored by Philipp Gampe's avatar Philipp Gampe Committed by Christian Kuhn
Browse files

[!!!][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: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: default avatarBenjamin Mack <benni@typo3.org>
Tested-by: default avatarBenjamin Mack <benni@typo3.org>
Reviewed-by: default avatarStephan Großberndt <stephan@grossberndt.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
parent 902f12af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment