项目作者: jradikk

项目描述 :
Asynchronous website cache warmer
高级语言: Python
项目地址: git://github.com/jradikk/async-cache-warmer.git
创建时间: 2017-11-08T12:52:07Z
项目社区:https://github.com/jradikk/async-cache-warmer

开源协议:

下载


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

  1. usage: main.py [-h] [-s SITES] [-l LIMIT]
  2. Asynchronous Magento Cache Warmer
  3. optional arguments:
  4. -h, --help show this help message and exit
  5. -s SITES, --site SITES
  6. -l LIMIT, --limit LIMIT

Example:
./main.py -s ““ -s ““ -l

2) docker run jradik/async-cache-warmer -h

  1. usage: main.py [-h] [-s SITES] [-l LIMIT]
  2. Asynchronous Magento Cache Warmer
  3. optional arguments:
  4. -h, --help show this help message and exit
  5. -s SITES, --site SITES
  6. -l LIMIT, --limit LIMIT

Example:

docker run jradik/async-cache-warmer -s ““ -s ““ -l

Examples:

1)

alt text
alt text

2)

alt text
alt text