Moved cache loading into request handler.