PHP code example of rafafortes / cache-warmer

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

    

rafafortes / cache-warmer example snippets

bash
php vendor/rafafortes/cache-warmer/src/UrlFetcher.php <baseUrl> <sitemapUrl> [--debug] [<threads>]

productalert/add
checkout/cart
customer/account