How to disable cache in apollo-link or apollo-client?

I'm using apollo-clientapollo-link and react-apollo, I want to fully disable cache, but don't know how to do it.

I read the source of apollo-cache-inmemory, it has a config argument in its constructor, but I can't build a dummy storeFactory to make it works.

#apollo

4.60 GEEK