php - How to make a cache solution for a shared resource in laravel? -


i new caching , problem have in hand. conventional caching understand works in way resource cached when retrieved , cache used later on. on creation, updation , deletion, cache deleted made new 1 next time.

in case of resource owned users, user id included in cache key somehow not clash cache of other users.

now, problem unique. have resource shared ie of owned individual users of owned all.

so now, when creation, updation , deletion happens, have delete cache users because might affected result sets since of items shared. , cache users have recalculated @ next retrieval particular user makes pretty inefficient.

has encountered similar problem , can tell me how go around this?


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -