PHP code example of derhasi / cache_split

1. Go to this page and download the library: Download derhasi/cache_split library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

derhasi / cache_split example snippets



$settings['cache']['bins']['render'] = 'cache.backend.split';


$settings['cache_split']['render'] = [
  //..
];


$settings['cache_split']['NAME_OF_CACHE_BIN'] = [
  //..
];


$settings['cache_split'] = [
  // Splits render cache in multiple backends.
  'render' => [
    // Do not cache render results for paragraphs, as they are only rendered in
    // context of the host entity.
    [
      'backend' => 'cache.backend.null',
      '