OhMySkills
基础设施与运维 cdn-caching 更新于 2026-08-16

CDN & Caching 工程规则

CDN rules: cache-key design, purge ownership and origin shield

技术栈
CDN & Caching
主题
工程基线
条目
9 条
版本
v0.2.0

✓ 应当这么做

  • ✓ Terminate TLS with automatic certificate management and renewals proven to work
  • ✓ Serve precompressed static assets with long-lived cache headers and hashed names
  • ✓ Keep one reverse proxy as the single ingress owner of port 443

✕ 常见反模式

  • ✕ Manual certificate installs with no renewal reminder
  • ✕ Cache headers that let stale HTML survive deploys
  • ✕ Configuration snippets copied without matching the proxy version

◎ 交付前验证

  • ◎ Certificate chain and expiry verified from an external vantage point
  • ◎ Cache headers inspected on HTML and on hashed assets
  • ◎ Proxy configuration validated before reload, with rollback ready

同分类条目

38 篇

同一技术栈的其他条目