Crates.io | heater |
lib.rs | heater |
version | |
source | src |
created_at | 2021-01-24 22:07:30.789991 |
updated_at | 2024-12-27 10:27:32.009964 |
description | simple sitemap-based cache-warming with header variations. |
homepage | |
repository | https://github.com/syphar/heater/ |
max_upload_size | |
id | 346186 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This small command line tool can be used to warm CDNs or website caches, based on a sitemap.
USAGE:
heater [OPTIONS] <sitemap_url>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--header <HEADER:VALUE>... header variation
--language <IEFT language tag>... language tags will be used to generate all possible permutations of these
languages, including their order
ARGS:
<sitemap_url> sitemap URL
For now, it can be simply installed globally via cargo install heater
.
heater http://site/sitemap.xml
will read the pages in the sitemap and request all of them
heater http://site/sitemap.xml --header accept-language:en
will set the accept-language header to en
for the requests. Any header can be set.
heater http://site/sitemap.xml --header accept-language:en --header accept-language:de
will request all the pages with both possible accept-language
headers.
heater http://site/sitemap.xml --language de --language en
will request accept-language with permutations for these languages: de
, en
, en, de
, en,de
.