Created
July 26, 2021 13:52
-
-
Save medigeek/df0a351481ece09a83749bbffc04e9de to your computer and use it in GitHub Desktop.
asynchronous crawler / warmer based on sitemap.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#run multiple concurrent connections to speed up cache warming | |
#install eliashaeussler/cache-warmup | |
mkdir cache-warmer-elias | |
cd cache-warmer-elias | |
composer require eliashaeussler/cache-warmup | |
#run it | |
vendor/bin/cache-warmup -v 'https://www.example.com/sitemap.xml' | |
#Default concurrency is set to 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment