src/View/SSViewer.php
public static function flush_cacheblock_cache($force = false)
    {
        if (!self::$cacheblock_cache_flushed || $force) {
            $cache = Injector::inst()->get(CacheInterface::class . '.cacheblock');
            $cache->clear();


            self::$cacheblock_cache_flushed = true;
        }
    }
public static function flush_cacheblock_cache($force = false)
    {
        if (!self::$cacheblock_cache_flushed || $force) {
            $cache = Injector::inst()->get(CacheInterface::class . '.cacheblock');
            $cache->clear();


            self::$cacheblock_cache_flushed = true;
        }
    }
public static function flush_cacheblock_cache ( $ force = false ) { if ( ! self :: $ cacheblock_cache_flushed || $ force ) { $ cache = Injector :: inst ( ) -> get ( CacheInterface :: class . '.cacheblock' ) ; $ cache -> clear ( ) ; self :: $ cacheblock_cache_flushed = true ; } }
Clears all partial cache blocks.

Can only be called once per request (there may be multiple SSViewer instances).

@param bool $force Set this to true to force a re-flush. If left to false, flushing
may only be performed once a request.
Clears all partial cache blocks .