Added in-place deletion to prevent cache from growing indefinitely under certain access patterns