use cdn when possible