Contatti

Scrivici

# Automatically clear autoptimizeCache if it goes beyond 256MB if (class_exists('autoptimizeCache')) { $myMaxSize = 256000; # You may change this value to lower like 100000 for 100MB if you have limited server space $statArr=autoptimizeCache::stats(); $cacheSize=round($statArr[1]/1024); if ($cacheSize>$myMaxSize){ autoptimizeCache::clearall(); header("Refresh:0"); # Refresh the page so that autoptimize can create new cache files and it does breaks the page after clearall. } }
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram