Project

General

Profile

Actions

Feature #94478

closed

Clear pages caches on referenced file replace

Added by Ian Solo over 3 years ago. Updated over 2 years ago.

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.


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #91169: Replace file does not invalidate page cacheUnder Review2020-04-22

Actions
Related to TYPO3 Core - Bug #95759: Clearing cache of pages where file is linked if file was replacedClosed2021-10-24

Actions
Actions #1

Updated by Benni Mack about 3 years ago

  • Related to Bug #91169: Replace file does not invalidate page cache added
Actions #2

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
Actions #3

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.

Actions #4

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

Also available in: Atom PDF