79678650

Date: 2025-06-25 07:57:50
Score: 0.5
Natty:
Report link

When you use your axios instance to make api call, assign an id to your cache:

client.get("/your-api/", { id: "your-cache-id" }).then((res) => res.data)

Then if you want to invalidate that cache use:

client.storage.remove("your-cache-id");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you use you
Posted by: Usukhbayar Batbayar