HUB
Sign inSign up

jradik/async-cache-warmer

By jradik

•Updated over 8 years ago

async-cache-warmer

Image
0

50K+

jradik/async-cache-warmer repository overview

⁠Async-cache-warmer

Asynchronous website cache warmer. Initially created to warm up magento cache.

alt text alt text

The main purpose of the script is to "warm up" magento cache after flushing it. Script parses sitemap.xml file and asynchronously loads each page.

⁠Usage:

1)./main.py -h

usage: main.py [-h] [-s SITES] [-l LIMIT]

Asynchronous Magento Cache Warmer

optional arguments:
  -h, --help            show this help message and exit
  -s SITES, --site SITES
  -l LIMIT, --limit LIMIT

Example: ./main.py -s "<URL/with/path/to/sitemap.xml>" -s "<URL/with/path/to/sitemap.xml>" -l

  1. docker run jradik/async-cache-warmer -h
usage: main.py [-h] [-s SITES] [-l LIMIT]

Asynchronous Magento Cache Warmer

optional arguments:
  -h, --help            show this help message and exit
  -s SITES, --site SITES
  -l LIMIT, --limit LIMIT

Example:

docker run jradik/async-cache-warmer -s "<URL1/with/path/to/sitemap.xml>" -s "<URL2/with/path/to/sitemap.xml>" -l

⁠Examples:

alt text alt text

alt text alt text

Tag summary
Recent tags
Content type
Image
Digest
Size
95.6 MB
Last updated
about 9 years ago
docker pull jradik/async-cache-warmer:latest