make worker ref comparable, rename InMemoryCache