Update purgeCache task for CDN