On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi,

    We use Bob Ray's lovely RefreshCache script on MODx Revolution websites.

    Does anyone know if there an equivalent script that works on MODx Evolution?

    thanks

    Ian.
    • Try this:

      // empty cache	
      		include_once "manager/processors/cache_sync.class.processor.php";		
      		$sync = new synccache();			
      		$sync->setCachepath("assets/cache/");	
      		$sync->setReport(false);		
      		$sync->emptyCache();