Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.65 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.65 KB

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