Mews Interview Question

How is server response memorization implemented in Apollo client and how would you implement it?