Download the PHP package qbus/autoflush without Composer
On this page you can find all versions of the php package qbus/autoflush. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download qbus/autoflush
More information about qbus/autoflush
Files in qbus/autoflush
Package autoflush
Short Description Automatic cache flush for menus and levelmedia
License GPL-2.0+
Homepage https://www.qbus.de
Informations about the package autoflush
Automatic cache flush for TYPO3
This extension adds the required bits to enable cache flushes not implemented by the TYPO3 core.
It hooks into frontend rendering and backend data handling – this is to add cache tags while rendering which will be flushed by the backend data handling hooks.
Currently supported features:
- Menu flush for page-related operations: add, remove, rename, hide, time-based (un)publish
- Subtree flushing when pages.media is changed (for the usecase where header images are inherited using levelmedia)
Configuration
For the basic functionality no configuration is required. Just install the extension and stop using the "flush frontend caches" button whenever you rename, delete, hide or add a page.
composer require qbus/autoflush
Cache flush for time-based page publishing
There's an extbase command controller which should be run from a cronjob (directly or indirectly through the scheduler). The command controller will clear the cache for all pages that render references (menus) to pages that are published by time.
typo3/sysext/core/bin/typo3 autoflush:clearmenuforpulishedpages
The command will flush references for new/expired pages since the last and the current run of the command. Therefore you should run this command frequently to reduce the time where menu's are out-of-date.
TODO
- Category based menus
- create menu_pid\_ tags for pages that could eventually render a submenu (but do not have child pages yet)
All versions of autoflush with dependencies
typo3/cms-extbase Version ^12.4
typo3/cms-frontend Version ^12.4
typo3/cms-backend Version ^12.4
typo3/cms-extensionmanager Version ^12.4