Problem
If you want to clear the cache of another page or folder after editing a page or folder, you usually have to do this manually. This is bad if plugins on another page changing contents of records, and the cached frontend doesn´t refresh that content.
Example
The folder with id 1 got edited. Page 42 contains a frontend plugin which uses records of folder 1.
After editing something of folder 1, the cache of page 42 should be cleared automatically.
The solution
Open the page settings of your page/folder (folder 1 in our example) and add the following code into the Page TSconfig (Page > Edit > Resources).
# Clear cache of page 42 after any changes on this page/folder.
TCEMAIN.clearCacheCmd = 42
Related posts
- 20.08.2021 TypoScript if - Show content on specific pages
- 12.12.2019 Embed fslightbox in TYPO3
- 01.08.2016 Show page uid in page tree
- 01.08.2016 Turn off the frontend ExceptionHandler
- 17.02.2018 TYPO3 Flush system/all caches button
Comments
No Comments