we should probably use HttpCacheMiddleWare