As great as caching is — cache invalidation has been a struggle for a long time now.
There are different approaches that work for different types of websites. I recently had to invalidate the cache of a web app every time a new version has been released. After trying out a few approaches, I settled with an approach that has proven to work every single time.

https://dev.to/flexdinesh/cache-busting-a-react-app-22lk

https://github.com/flexdinesh/cache-busting-example

Categorie: DevelopmentReact

0 commenti

Lascia un commento

Segnaposto per l'avatar