> On Jun 27, 2017, at 10:14 AM, John Huss <[email protected]> wrote: > > I would be ok with disabling the shared cache except for a few entities. Is > there a way with listeners to intercept queries for specific entities and > return something manually and skip the query?
DataChannelFilter.onQuery(..) theoretically can do that. > Using the query cache is great, except if you are firing relationships that > weren't prefetched -- in that case you can't avoid using the shared cache > and getting stale data. True. You will have to guess upfront which relationships are needed if cache control is a concern. Andrus
