PLA-1199 respect cache policy in api.