Sign inSign up

eilandert/sitemap_warmup

By eilandert

Updated about 10 hours ago

Sitemap Validation, Checker and CDN Warmup

Image
1

9.4K

eilandert/sitemap_warmup repository overview

sitemap_warmup — cache + index warmup utility Docker image

eilandert/sitemap_warmup is a small utility image that reads a site's XML sitemap and warms it — fetching every URL so the server-side cache (WP Fastest Cache, nginx/Angie cache, PageSpeed) is primed and pages serve hot. It's a support tool in the deb.myguard.nl stack, run on a schedule after deploys or content updates.

Why run it in Docker

  • A scheduled, single-purpose crawler — drop it in a cron/timer or CI step; no Python/venv to maintain on the host.
  • Cache stays warm — first-visitor latency disappears because the cache is already populated.
  • Pairs with indexing automation — warm the cache, then ping search engines (see the Instant Indexing article below).
  • Hardened, minimal base. See Docker Hardening for Self-Hosters.

Hardened docker-compose.yml

services:
  sitemap-warmup:
    image: eilandert/sitemap_warmup:latest
    read_only: true
    cap_drop: [ALL]
    security_opt:
      - no-new-privileges:true
    command: ["https://example.com/sitemap_index.xml"]
    restart: "no"        # run on demand / from a scheduler

Run it from cron after a deploy:

docker run --rm eilandert/sitemap_warmup:latest https://example.com/sitemap_index.xml

Tag summary

Content type

Image

Digest

sha256:0e3a4ea27

Size

140.8 MB

Last updated

about 10 hours ago

docker pull eilandert/sitemap_warmup