Bug #91169
openReplace file does not invalidate page cache
0%
Description
An editor uploads an image in filelist. The editor references the image in a "textpic" CE on a page 1. The editor visits the frontend of page 1 and the page gets cached.
If an Editor replaces the image via "replace" functionality in filelist:
- processed files are removed. which is correct
- but page cache with references to the image is not invalidated
result:
textpic on page 1 shows no image anymore (as processed files were deleted and webserver says 404).
expected behaviour:
invalidate caches (e.g. pages) where file-references to fal-files are made.
Updated by Anonymous over 4 years ago
- Related to Bug #63976: Replacing an image in File > Filelist does not trigger recreation of thumbnail added
Updated by Josef Glatz over 4 years ago
Just some reference:
@Ingo: Daniel Siepmann has dealt with such scenario in his article https://daniel-siepmann.de/posts/2019/typo3-content-caching.html if I can remember... There you find exactly good examples for your problem.
Updated by Anonymous over 4 years ago
- Related to Bug #68008: Processed image versions are not deleted when image file is replaced added
Updated by Anonymous over 4 years ago
Josef Glatz wrote:
Just some reference:
@Ingo: Daniel Siepmann has dealt with such scenario in his article https://daniel-siepmann.de/posts/2019/typo3-content-caching.html if I can remember... There you find exactly good examples for your problem.
That's right.
But this is still an issue for all FSC CEs.
Updated by Benni Mack about 3 years ago
- Related to Feature #94478: Clear pages caches on referenced file replace added
Updated by Benni Mack about 3 years ago
- Related to Bug #95759: Clearing cache of pages where file is linked if file was replaced added
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Ian Solo over 2 years ago
This extension Cache optimizer (not tested) does this and more. From the manual:
It uses an enhanced tag handling to clear the cache in these use cases: - When a content element is changed the cache of all pages is cleared where this content element is referenced by a shortcut. - When a file or the metadata of a file is changed the cache of all pages is cleared where this file is used in the page properties or in content elements. - When a file is changed the directory is detected and the cache of all pages is cleared where a folder collection references it. - When a record of an Extension is changed the cache of all pages is cleared where a related plugin is used.
IMHO all these cases should be handled by the core, not only the case where a file is replaced.
Updated by Gerrit Code Review over 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Gerrit Code Review about 1 year ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442
Updated by Gerrit Code Review about 1 year ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74442