implentation of CDN