Skip to main content
The Python client uses ETag-based conditional requests to avoid re-downloading unchanged files.

How It Works

  1. On first download, the client saves the file and its ETag to ~/.cache/jmail/
  2. On subsequent requests, the client sends a conditional HEAD request with If-None-Match: <etag>
  3. If the server responds with 304 Not Modified, the cached file is used (no download)
  4. If the ETag has changed, the file is re-downloaded

Cache Location

Disabling Cache

Python

CLI

Clearing Cache

Manifest

The /v1/manifest.json endpoint provides dataset metadata and checksums, allowing programmatic freshness checks: