#How to do a hard reset of Netlify's cache?

6 messages · Page 1 of 1 (latest)

glass flame
#

Hiya. I've been fiddling around using Astro's image service API.

I was using it to resize my images down to 800px. I recently bumped this number up to 1200px, and I can see on my local dev server that the images are loading in at that size, but even if I use Netlify's "Clear cache and deploy" option in the UI, I can see that on my production website all the images are still at 800px.

In the build logs, I can see when Astro is doing the "optimise images" step it just does "(reused cache entry)" for all the images.

I tried doing a hard refresh, viewing my site in another browser, viewing it in incognito mode, but it still seems to use the 800px.

lucid coral
#

Can you link the site so I can verify the issue? 🙂

fossil bronze
#

Clear cache and redeploy is all I know of

#

But in theory you could just remake the whole project to double verify

glass flame
#

Also on a related question, is it normal for the Netlify deploy to always upload (what seems like all) the files? Even if I only added a new file. It takes about 2 minutes.