netlogix / nxcachetags
TYPO3 Extension "nxcachetags"
Installs: 16 895
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^8.1
- ext-pdo: *
- typo3/cms-core: ^11.5 || ^12.4
Requires (Dev)
- ext-sqlite3: *
- phpunit/phpcov: ^9.0
- phpunit/phpunit: ^10
- typo3/testing-framework: ^7.0
README
Simplifies cache handling in TYPO3. Provides mechanisms for nested cached fragments, e.g. a news list. In a news list the single news can be cached and the whole list can be cached again. If a news in the list changes, not only must the cache for the news item be flushed, but also the whole list. As all other news items are still cached, only the changed item needs to be rendered while all other items can still be fetched from cache.
Example
<div> <ct:tagEnvironment objectOrCacheTag="{news}" /> <f:for each="{news}" as="newsItem"> <ct:cache identifiedBy="{0: newsItem}"> <h3>{newsItem.title}</h3> </ct:cache> </f:for> </div>