skip to Main Content

Redis – Delete data from cache using key prefix in Django

cache.set("determ_" + str(id), cache_object) Am working with Django cache using Redis, these are sample of my cache keys determ_1ba243f3-2eda-4feb-bf24-1aa4c0cd2171 appr_hist_2bfd55e4-22c1-4cc3-a913-8ac2cde3801b appr_act_5a18c351-e172-4369-9a4b-118c3df5b25a but i get challenge when i want to delete cache using some part of key like determ_, appr_hist_, appr_act_…

VIEW QUESTION
Back To Top
Search