It is not possible to purge URLs with wildcard or purge a directory, for example purges in the form of:
This is because objects are not stored in cache in a directory hierarchy. Instead, they are stored with their filenames hashed. In order to find files matching the wildcard or directory, the entire cache must be searched for matching files. It is a very slow operation, therefore we do not support it.
Instead, we recommend that you use add a version id to your URL query string. In addition to invalidating the edge cache, it also invalidates the browser cache.