Feature #64200

Allow individual content caching

Added by Philipp Gampe over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2015-01-09
Due date:
% Done:

100%

PHP Version:
5.5
Tags:
Complexity:
easy
Sprint Focus:

Description

Since 4.7, we have stdWrap.cache 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.

Move the cache. logic into the central render method to avoid the rendering of the cObject, thus gaining a major speed advantage.

Associated revisions

Revision d520003e (diff)
Added by Philipp Gampe almost 5 years ago

[!!!][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 <>
Reviewed-by: Stefan Neufeind <>
Reviewed-by: Benjamin Mack <>
Tested-by: Benjamin Mack <>
Reviewed-by: Stephan GroƟberndt <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Tested-by: Stefan Neufeind <>

History

#1 Updated by Mathias Schreiber over 5 years ago

  • Target version set to 7.2 (Frontend)

am I the only one with sleep disorder?
Good catch btw.

#2 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#3 Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#5 Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#6 Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#7 Updated by Gerrit Code Review about 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#8 Updated by Gerrit Code Review about 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#9 Updated by Gerrit Code Review about 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#10 Updated by Gerrit Code Review about 5 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#11 Updated by Gerrit Code Review about 5 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#12 Updated by Gerrit Code Review about 5 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#13 Updated by Gerrit Code Review about 5 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#14 Updated by Gerrit Code Review about 5 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#15 Updated by Gerrit Code Review about 5 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35915

#16 Updated by Benni Mack almost 5 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#17 Updated by Philipp Gampe almost 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#18 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF