[TYPO3-UG Australia] Clearing cache without the BE-button

Michael typo3ml at schams.net
Wed Apr 26 11:38:43 CEST 2006


Hi all,
how can I clear the FE/BE cache without using the button in the BE? I want to clear the cache e.g. triggered by a script.

The background of this question is the following: we've a typical staging-scenario in our company with environments like "developing", "testing", "quality assurance", "customers approval" and "live hosting". Our aim is to implement a mechanism to deploy a Typo3-application from one stage to the next - without manual intervention. Currently it's just a bash script, which copies the files and the database to another server; executed by cron. Now I want to clear the FE/BE-cache before the directories/files are copied (to reduce network traffic, start the next stage with an empty cache and so on).

I think I've to empty the "typo3temp"-directories (and subdirs) and some tables (names started with "cache_"?) in the database. Anything else?
Has anyone successfully such a solution (script) running? Any ideas? :-)

-- 
Michael




More information about the TYPO3-UG-australia mailing list