Inject the cache into the request handler