001
Web Performance
Jul 11, 2026
5 min read
Published
Two Subdomains, Same Host, Different Cache Headers
Identical .htaccess · identical origin · 7-day cache on one, 1-year on the other
Two subdomains on the same hosting account, same CDN product, identical .htaccess Cache-Control rules — and browsers were receiving two completely different cache lifetimes. A step-by-step trace of how I isolated the layer responsible, and the single directive that fixed it without disabling the CDN or migrating providers.
7d → 1y
Cache lifetime fixed
#webperf
#caching
#cdn
#htaccess
#debugging
#hosting
Read note →