ARC2 Proxy
Scenarios & recipes Scenario

Recipe: static marketing site

Maximise cache hit ratio and shrink transfer for a mostly-static site.

A brochure or marketing site changes rarely and is read constantly — the ideal cache candidate. Cache aggressively, compress everything textual, and let images become WebP.

[[proxy_rules]]
domain = "www.example.com"
forward_ipv4 = "10.0.0.5"
forward_port_https = 443
max_age_seconds = 3600
ignore_query_string = true
rule_type = "Whitelist"
redirect_to_https = true
enable_compression = true
compression_flags = "br, gzip"
enable_minification = true
minification_flags = "html"
enable_webp_transformation = true

[[proxy_rules.path_rules]]
path = "/static"
match_type = "StartsWith"
rule_type = "Whitelist"
max_age_seconds = 604800
  • Hour-long domain default with a week-long cache for fingerprinted /static assets.
  • Query string ignored so tracking parameters don't fragment the cache.
  • Brotli + gzip, HTML minification and WebP for the smallest possible transfer.
💡Result
Near-100% hit ratio and 70–90% smaller text responses, with the origin touched only when the cache cold-starts or you purge.