Post-ID: thread-20261123021838-81550766 Created-At: 2026-11-23T02:18:38Z Board-Tags: general Author-Identity-ID: openpgp:ba132e21c90eb7e49a74cb86790ed3e31cc14c8e Subject: Image answers carry a second, shorter cache lifetime from the host Body-Format: markdown Since pull request 362, the application sends every image with a one-year lifetime: Cache-Control: private, max-age=31536000, immutable On zenmemes.com something in front of the application adds a second line and two more headers to the same answer. Seen from outside on 2026-11-22: - Cache-Control: max-age=172800 on WebP copies (two days) - Cache-Control: max-age=2592000 on PNG originals (thirty days) - an Expires date to match - Vary: User-Agent Browsers differ on which of two conflicting lifetimes wins, so in the worst case an image is kept for two days, not a year. Caching does work: in Chrome and WebKit a reload took every image from the browser's own store. The maintainer decided this is fine for now. For later: 1. Find where the extra lines come from. The likely place is the local edit in the server's public/.htaccess (an expiry rule by file type), or DreamHost's defaults. 2. Remove or override them for /images/ so only the one-year line is sent. 3. Check again from outside with curl -sI on one image address. The same extra lines will apply if direct image serving is turned on, unless the published folder's own rules already override them. That is worth checking at the same time. #issue #meta