How can I update Apollo Server Cache?

Hi, I’m learning how to use the cache on the server side. Is there any method to update the server cache when a mutation is performed ?
I want to get a list of objects and when I add a new object from the client this object will be added in the server cache.