I am caching some data like thumbnails and also JSON in our web app. Now I want to delete old data when I reach the disk space.
Chrome shows in his web tools (not perfectly, it doesn't show the correct time for self-created responses) the attribute Time Cached
in the Cache Storage.
So this data must be somewhere and I want to use it.
My plan would be to do work with cache.matchAll
and sort the result by the Time Cached
attribute to delete the oldest one.
But match All just returns normal Responses, where I don't have Time Cached.