add cdn support