Exemple #1
0
 function purge_all()
 {
     $this->purge('sections');
     $this->purge('draft');
     $this->purge('live_css');
     $this->purge('less_vars');
     pagelines_reset_pl_cache_key();
 }
 function reset_caches()
 {
     global $dms_cache;
     // clear draft css
     $dms_cache->purge('draft');
     //clear sections cache
     $dms_cache->purge('sections');
     // clear live css
     $dms_cache->purge('live_css');
     // reset css/js cachekey
     pagelines_reset_pl_cache_key();
 }