src/Gzero/Cms/Handlers/Block/CacheBlockTrait.php
protected function putInCache(Block $block, Language $language, $html)
    {
        if ($block->is_cacheable) {
            cache()->tags(['blocks'])->forever('blocks:cache:' . $block->id . ':' . $language->code, $html);
        }
    }
protected function putInCache(Block $block, Language $language, $html)
    {
        if ($block->is_cacheable) {
            cache()->tags(['blocks'])->forever('blocks:cache:' . $block->id . ':' . $language->code, $html);
        }
    }
protected function putInCache ( Block $ block , Language $ language , $ html ) { if ( $ block -> is_cacheable ) { cache ( ) -> tags ( [ 'blocks' ] ) -> forever ( 'blocks:cache:' . $ block -> id . ':' . $ language -> code , $ html ) ; } }
Put rendered html in to block cache

@param Block    $block    Block
@param Language $language Language
@param string   $html     Rendered html

@return void
Put rendered html in to block cache