set ecs cache