Category: Vercel and hosting

Vercel: Cached Public File Does Not Update After Deployment

Read this guide in Polish

After replacing the image under the permanent name, some browsers still show the old graphics.

How to identify the source of the problem

Check Cache-Control and ETag for resource and CDN cache policy.

Compare SHA commit, the status of deployment and HTTP response under the final domain, not the very status of READY.

Repair steps

Version the filename or query according to the cache character and update the links during deploya.

How to Test Solution

The new version of the page refers to the new resource and cache does not spoil existing pages.

Security and restrictions

Keep the previous active deployment until the new one is confirmed under your own domain. Avoid writing secrets in logs.