An android app makes use of GraphQL (Apollo), this app has a Normalized cache, in an effort to cut back the variety of queries to the backend.
Nevertheless, I see there’s additionally APQ (Computerized Continued Queries), so far as I perceive it is usually a sort of various for cache implementation, however on the backend. proper?
So, so far as I perceive if the app has each
Normalized cache a question circulation seems to be like this:
question -> test regionally in cache -> if nothing -> ship question on server -> if there's nothing in APQ -> execute question and ship again to the shopper -> outcome saves in APQ -> shopper receives the response -> save response in normalized cache
The query is – does it make sense? Does not it appear to be overkill? I imply what’s a purpose to make an implementation for each
Normalized cache and