Posts on Images.
3 posts tagged "Images".
I MD5-checked the server. The files were right. The browser hadn't noticed.
PR #566 landed six new category icons on the cPanel host, byte-identical to the repo. The browser ignored them: a year-long default Cache-Control header meant the June originals were locked in until the URL changed. The captain_random deploy pipeline now versions every asset URL on update.
Better images land on the server. The browser may still show the old ones.
Regenerating site images is the easy part. On a static cPanel host the browser might still serve June's render in November, and the LCP image — even when marked priority — won't get fetchpriority if your export bypasses Next.js's optimiser. Two separate failure modes, both invisible until you look for them.
I replaced six icons. cPanel had cached the old ones for a year.
I merged the new category icons, deployed, and checked the live site on my phone. June icons, still. The server had the new files — md5 confirmed it byte-for-byte. cPanel serves /icons/ with a one-year immutable cache by default. Image work isn't done until the URL has changed.