Skip to content

jradikk/async-cache-warmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages