Delete cache Enable editors
Now the "flash" is visible in the top bar.
TYPO3: TYPO3 cache information
Clearing the cache is necessary in various situations to ensure that users see up-to-date content and the application functions correctly. Here are the main reasons why you need to clear the cache:
- Updating content: When content is updated on the website, these changes must be displayed to end users. Caches store older versions of web pages and content, which means users may see outdated information if the cache is not cleared.
- Development and debugging: During development or debugging, changes may be made to the code or design of the website. Clearing the cache ensures that developers can see the effects of their changes immediately without being affected by cached versions.
- Performance issues: In some cases, an overcrowded or misconfigured cache can lead to performance issues. Clearing the cache can help resolve such issues and improve site speed.
- Configuration changes: After changes have been made to the configuration of the website or server, it is often necessary to clear the cache to ensure that these changes are applied correctly.
- Translated with www.DeepL.com/Translator (free version)
- Avoidance of conflicts: Especially in a multi-user environment, where several people are working on a website at the same time, caching pages and content can lead to conflicts. Regularly emptying the cache can help to avoid such conflicts.
- Security updates: After applying security updates, it is often advisable to clear the cache to ensure that all users receive the most secure version of the website.
Regular and targeted cache clearing is therefore an important part of website maintenance and development to ensure that content is up to date and functions correctly.
TYPO3 uses a powerful caching system to improve the loading speed of websites. Here is the most important information about caching in TYPO3:
1. cache types
TYPO3 supports various cache types:
Page cache: Saves the generated output of web pages in order to be able to deliver them more quickly when they are requested again.
Content Cache: Saves the content of plugins or content elements that are used multiple times.
Configuration Cache: Saves the configured settings and TypoScript configurations.
PHP Code Cache: An opcache used by PHP to store the compiled PHP code.
2. cache management
In the TYPO3 backend under "Maintenance" > "Empty cache" administrators can empty the cache manually. There are options to clear specific caches or to clear all caches at once.
3. caching framework
TYPO3 has a flexible caching framework that allows developers to implement their own caching strategies. The framework supports multiple backend types for storing cache data, including file system, database and Redis.
4. cache configuration
The configuration of the cache can be customised in the TYPO3 settings files LocalConfiguration.php and AdditionalConfiguration.php. Developers can customise settings such as the lifetime of the cache and the caching backend used.
5 TypoScript caching
TypoScript allows developers to fine-tune how content is cached. There are settings to disable caching for specific pages or content elements or to set individual cache lifetimes for different elements.
6 Performance and best practices
Cache warmup: To improve performance, you can perform a cache warmup where frequently visited pages are cached in advance.
Caching extensions: There are TYPO3 extensions that offer additional caching functions, such as automated cache warmup processes.
Optimisation of TypoScript and extensions: Ensure that TypoScript and extensions are configured efficiently to avoid unnecessary caching.
Understanding and correctly using the caching system in TYPO3 can contribute significantly to the performance of your website.
Version: <= 12.xx