An open API service indexing awesome lists of open source software.

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

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]`