Actions
Feature #94478
closedClear pages caches on referenced file replace
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2021-07-05
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
When the editor replaces (or edit) a file that is referenced in any records, the caches should be cleared as if these records had changed.
Updated by Benni Mack about 3 years ago
- Related to Bug #91169: Replace file does not invalidate page cache 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 Ian Solo about 3 years ago
I just found this extension Cache optimizer (not tested) that 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 these features should be in the core.
Updated by Simon Schaufelberger over 2 years ago
- Status changed from New to Closed
Closed as duplicate of Bug #91169: Replace file does not invalidate page cache. Please do a code review there!
Actions