Contently interview question

How would you handle caching in a react app?