Search code examples
akavache

How do I clear out a Akavache database?


I am using Akavache for a cache of local objects. I'd like to be able to delete everything in the database (so it is as if it was the first time the program was run). I've seen the Vacuum method, but that only removes old items that have expired. What is the easy way to clean everything up?


Solution

  • Turns out it is right there, I just couldn't see it!

    BlobCache.UserAccount.InvalidateAll();
    

    Does the trick!