You might have to call ->get() before you call -> isMiss(), at least it was like that in the beginning.

If that does not help, just keeping the clear() instead of trying to update cache might just work better :)