Hi Team,
Site: https://sathishbalan.netlify.app/
I’ve had my site deployed on Netlify for over four months and have encountered a persistent issue since the start. Despite understanding how caching works with Netlify, I’m experiencing frequent cache misses on all static files even without triggering new deployments.
My website uses code splitting, resulting in several static JS files that I prefer to be served from the cache whenever possible. The problem isn’t that these files are never cached, but rather that they seem to be removed from the CDN intermittently.
For example, the first time I access the website, the files get cached, and the second time, they are served from the cache as expected. However, after a couple of days, I get cache misses again despite no deployments occurring in between.
Does anyone have insights or solutions on how to maintain the cache for these static files consistently?
Thanks!