Curl Shell Script To Purge Cache From Stackpath CDN

Originally published at: https://bash.cyberciti.biz/networking/curl-shell-script-to-purge-cache-from-stackpath-cdn/

A content delivery network or content distribution network (CDN) is a system of servers containing copies of data, placed at various points in a network so as to maximize bandwidth for access to the data from clients throughout the network. Please note that the following script will only work with Stackpath CDN. You need to get API access keys using stackpath portal.