PHP code example of gocache / cdn

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

    

gocache / cdn example snippets

sh
MAGENTO_DOCUMENT_ROOT=/var/www/magento2
COMPOSER_MEMORY_LIMIT=-1

composer /magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile