Skip to content

cobwebch/flush_language_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads PHP Version Require

Flush Language Cache

This small TYPO3 CMS extension adds an item to the flush cache menu to allow for flushing only the language cache (l10n). This way you can avoid flushing the whole system cache when updating just a couple of localized strings (in locallang files).

This extension requires TYPO3 CMS 12 or more.

Just install it and flush the system cache. Reload the backend and the new item will appear in the flush cache menu.

There is also a command-line tool that can be called with:

path/to/php path/to/bin/typo3 languagecache:flush

User TSconfig

It is possible to give access to this flush cache option to ordinary backend users with the following User TSconfig:

options.clearCache.flushLanguageCache = 1

Credits

The icon is based on the following images:

  • thunderbolt by H Alberto Gongora from the Noun Project
  • chat bubble by Tereza Moravcová from the Noun Project

Thanks to Dmytro Nozdrin for the TYPO3 9 compatibility update and some code cleanup.