[TYPO3-dev] Avoid clearing cache in Draft workspace
    John Angel 
    johnange at gmail.com
       
    Wed Jan  3 17:54:22 CET 2007
    
    
  
Hi
I think that functions clear_cache and clear_cacheCmd in
t3lib/class.t3lib_tcemain.php shouldn't clear any page cache when working in
Draft workspace.
Something like:
if($GLOBALS['BE_USER']->workspace<0 && empty($_params->cmdmap))
{
    // Don't clear the cache
}
The other part of IF is necessary to allow clearing the cache when
committing the changes using Workspace menu.
Any thoughts?
Regards,
John
    
    
More information about the TYPO3-dev
mailing list