S
SolidJS•3mo ago
sh03

Is `query` cached per request or globally?

Is query cached per request? The documentation doesn't seem clear about it but I'd expect so. Since I'm about to create a getViewer function it's probably best to make sure this is the case 😅
3 Replies
Brendonovich
Brendonovich•3mo ago
per request
Josesito
Josesito•2mo ago
does this mean that on a separate request it will fetch the data again?
OliverGrack
OliverGrack•2mo ago
yes

Did you find this page helpful?