cache doesnt revalidate inside websocket on('message')
I have this:
after
await revalidate
, getGame
still returns the old value. This is running inside websocket's on('message').1 Reply
I changed it to this, and still doesn't update
Ok I think I figured out what cache is doing. It's a client side only feature, to keep the browser updated with changes. On the server side, I don't use cache.
by instrumenting a refetch.