add CDN support