Use config for cdn class