PHP code example of serfe / module-uncacheableblockdetector

1. Go to this page and download the library: Download serfe/module-uncacheableblockdetector 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/ */

    

serfe / module-uncacheableblockdetector example snippets

bash
php bin/magento setup:upgrade
bash
php bin/magento config:set --lock-env dev/cache_detector/die 0