An android app makes use of GraphQL (Apollo), this app has a Normalized cache, with a purpose to cut back the variety of queries to the backend.
Nonetheless, I see there may be 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 circulate appears to be like like this:
question -> verify regionally in cache -> if nothing -> ship question on server -> if there may be nothing in APQ -> execute question and ship again to the consumer -> consequence saves in APQ -> consumer receives the response -> save response in normalized cache
The query is – does it make sense? Would not it appear like overkill? I imply what’s a motive to make an implementation for each
Normalized cache and