implementation of CDN