2017 © Pedro Peláez
 

typo3-cms-extension bwrk-cache-cleaner

CLI Cache Cleaner for TYPO3

image

bergwerk/bwrk-cache-cleaner

CLI Cache Cleaner for TYPO3

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 2 Versions
  • 9 % Grown

The README.md

Cache Cleaner

You can use this extension to clear your typo3-caches programmatically., (*1)

Installation

  1. Install the extension.
  2. Create "_cli_lowlevel" User

Create "_cli_lowlevel" User

You have to create a backend-user named "_cli_lowlevel". The password doesn't matter, but you have to give the user the following TSconfig:, (*2)

options.clearCache.all=1
options.clearCache.pages=1

How to use the Cache Cleaner API

Via PHP


// First Instance the CacheApiService $cacheCleaner = new BERGWERK\BwrkCacheCleaner\Service\CacheApiService(); // Call one of the following options to clear the cache. $cacheCleaner->clearAllCaches(); // Clear All Caches. Parameter true for hard delete $cacheCleaner->clearPageCache(); // Clears the page cache. $cacheCleaner->clearConfigurationCache(); // Clears the configuration cache. $cacheCleaner->clearSystemCache(); // Clears the system cache $cacheCleaner->clearAllActiveOpcodeCache(); // Clears all active opcode caches $cacheCleaner->clearAllExceptPageCache(); // Clears all except the page cache

Via SSH

Call the cli dispatcher via ssh with the following command:, (*3)

./typo3/cli_dispatch.phpsh extbase cache:run

Also you can add one of the following parameters: page, system, configuration, opc, except_page, (*4)

If you doesn't add any Parameter, it will clear all caches hard., (*5)

Example for clear the page Cache via cli:, (*6)

./typo3/cli_dispatch.phpsh extbase cache:run page

The Versions

13/04 2016

dev-master

9999999-dev https://www.bergwerk.ag/

CLI Cache Cleaner for TYPO3

  Sources   Download

GPL-2.0+

cache typo3 cms

13/04 2016

1.5.3

1.5.3.0 https://www.bergwerk.ag/

CLI Cache Cleaner for TYPO3

  Sources   Download

GPL-2.0+

cache typo3 cms