Open stefanpieck opened 4 years ago
looks like the same bug as #11 i will have a look later
sorry i could not reproduce your exception. however i rewrote cleanup logic. if the bug still exists, could you please implement it with the boilerplate: https://gist.github.com/eGust/b49acc3bbbc954d209182082c2ed7dd2
In the case the fetch Method throws, which seems the only way to implement a statusCode check, the CacheControlPolicy throws in cleanup.
That seems to be the case because the timestamp in the cache item is not set.