Set no-cache headers for api.