PHP code example of suhype / craft-pagecache

1. Go to this page and download the library: Download suhype/craft-pagecache 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/ */

    

suhype / craft-pagecache example snippets

bash
php craft clear-caches/pagecache
bash
# Run `php craft pagecache/refresh --help` to see the possible arguments

php craft pagecache/refresh