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

Roger Bunyan roger at redgumweb.com.au
Thu Apr 27 00:38:30 CEST 2006


here is an answer for a cron job

http://typo3board.com/ftopic269.html

Roger Bunyan
http://redgumweb.com.au
Ph: 02 6492 7202
Sustainability will be achieved by a
cultural change, not by technology.



Roger Bunyan wrote:

>Hi Micheal
>
>This sounds like a job for workspaces in version 4 - it does all the 
>steps you want to implement and then some more. it also has versioning 
>and work flow intergrated, preview links and fine grain permision control.
>
>Why do it across several installations when you can do it all in one.
>
>however
>
>Normally when I want to clear the fe cache for several pages I put this 
>in the page ts config:
>
>TCEMAIN.clearCacheCmd = 48, 36, 24
>
>means that if I have a a sys-folder with news records in it and I create 
>a new one then the cache will be cleared on the other pages where I have 
>the news plugin installed.
>
>You might find a hint there.
>
>
>Roger Bunyan
>http://redgumweb.com.au
>Ph: 02 6492 7202
>Sustainability will be achieved by a
>cultural change, not by technology.
>
>
>
>Michael wrote:
>
>  
>
>>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? :-)
>>
>> 
>>
>>    
>>
>_______________________________________________
>TYPO3-UG-australia mailing list
>TYPO3-UG-australia at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-australia
>
>
>
>  
>



More information about the TYPO3-UG-australia mailing list