Hi all, we have an interesting problem w/ our apol...
# orm-help
j
Hi all, we have an interesting problem w/ our apollo react site - whenever I first open the page in Chrome (other browsers too) it does not seem to fetch latest database (graphcool) data. If I hit refresh, it will load the latest. Is this an easy fix? It's a pretty bad issue for a rolling content site. Thanks in advance for help! tagging @be4r
n
sounds like you need to fiddle with Apollo's "fetchPolicy"
use either
network-only
or
no-cache
, depending on your use case
j
it could also be that you have older stagnant data in your localstorage. Maybe you could add some logic to manually clear that data.
j
Thanks all, I will take a look at these!