We can effectively reduce the amount of redundant requests by doing a little bit of caching in the meme service. On log out, the relevant meme votes are destroyed in the cache while logging in destroys the cache completely since we don't know how the user voted on those items.
We can effectively reduce the amount of redundant requests by doing a little bit of caching in the meme service. On log out, the relevant meme votes are destroyed in the cache while logging in destroys the cache completely since we don't know how the user voted on those items.