https://github.com/pr00xxy/pfpcw
FPC warmer written in python
https://github.com/pr00xxy/pfpcw
cache cache-warmer caching fpc full-page-cache magento magento2
Last synced: over 1 year ago
JSON representation
FPC warmer written in python
- Host: GitHub
- URL: https://github.com/pr00xxy/pfpcw
- Owner: Pr00xxy
- License: lgpl-3.0
- Created: 2019-03-02T22:18:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T08:25:13.000Z (over 2 years ago)
- Last Synced: 2025-01-13T03:42:06.810Z (over 1 year ago)
- Topics: cache, cache-warmer, caching, fpc, full-page-cache, magento, magento2
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PFPCW
Python Full Page Cache Warmer
## Description
Python cache warming tool used for warming full page cache solutions by visting pages in sitemap.xml
Has built-in support for concurrent threads, randomizing sort order, url parse delay, and more.
Tests has been performed on Wordpress, Magento 1 and 2.
## Installation
### Step 1. Prerequisites
`python3`
`pip3 install -r requirements.txt`
## Parameters and flags
- `--sitemap` Url to sitemap (Exclusive to `--site`)
- `--site` Url to site (Exclusive to `--sitemap`)
_Will try to locate robots.txt for any sitemaps and parse found ones_
- `--delay` Delay in seconds between url warming (Default: 0)
- `--limit` Limit of urls to scan. (Default: None)
- `--threads` Number of concurrent threads to use (Default: 1)
- `-r` Randomize order of url warming. (Default: False)
- `-v` Run in verbose mode. Will print output to terminal
- `-s` Run in silent mode. Redirects all output to /dev/null
## Usage
`./pfpcw ( --site | --sitemap ) [--threads ] [--delay ] [--limit ] [-v] [-s] [-r]`