Project

General

Profile

Actions

Feature #93498

closed

Clear Cache for Subpages

Added by Christoph Werner about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2021-02-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
clear cache, performance
Complexity:
Sprint Focus:

Description

Hi!

At the moment you can only clear cache for the whole installation or for a single page.
It would be nice to have an clear-cache-button for "this page and all subpages".

Why? Clearing whole cache in a big installation should not be done without good reason (performance, pagespeed, takes time to "fill" the cache). Especially in a multidomain installation you won´t to clear cache of the whole installation when working on one domain.

I think that feature could be valuable.

Best,
Christoph

Actions #1

Updated by Georg Ringer over 1 year ago

  • Status changed from New to Closed

Thanks for creating the issue!

Does the setting `clearCache_pageSiblingChildren` help you? https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/TceMain.html#clearcache-pagesiblingchildren.

Furthermore there are hooks like $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'] which can be used to improve the cache clearing.

I am closing this issue as - especially for larger installation - it is impossible to provide and maintain settings which fit everyone. Therefor I suggest to use one of the hooks and adopt the cache strategy to your own needs.

Actions

Also available in: Atom PDF