core: cache fix

- cache key was incorrect and so never returned cache

Impact: low