Contently Interview Question

How would you handle caching in a react app?