Started implementing cache middleware.