Hello. I’m using Eleventy with Sanity as CMS. I’m having a problem and is that p
The problem I’m having is that posts I delete on the Sanity CMS, still show in the frontend until I do a manual “Clear cache and deploy”. I have tried:
- rm -rf _site && npm run build
- rimraf _site && npm run build
However, the posts still stay and will not go away until a manual cache clear.
Is there something like an automatic “Clear cache and deploy” which runs on build? I basically want the cache to delete on every deploy. But clearing _site doesn’t seems to do it.