Example for testing a core patch, see TYPO3 Issue:
And corresponding patch:
!!! This extension will only work with the corresponding patch applied.
- Tested with TYPO3 latest main branch (v12)
Without Composer:
git clone https://github.com/sypets/sypets_example_plugincacheexpiration.git
With Composer:
Add to composer.json:
"repositories": {
"sypets_example_plugincacheexpiration": {
"type": "git",
"url": "https://github.com/sypets/sypets_example_plugincacheexpiration.git"
}
},
Run:
composer require sypets/sypets-example-plugincacheexpiration:dev-main
To test if the patch works, insert a plugin and load the FE page several times. After about 10 seconds the page cache should be invalidated and you should see a new timestamp.