I want to check how to purge cached individual static html pages with query string at Cloudflare. As an example there is Cloudflare api call to purge individual file, like
curl -X DELETE “https://api.cloudflare.com/client/v4/zones/023e105f4ecef8ad9ca31a8372d0c353/purge_cache” \
-H “X-Auth-Email: [email protected]” \
-H “X-Auth-Key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41” \
-H “Content-Type: application/json” \
–data ‘{“files”:[“http://www.example.com/css/apc.php”]}’
Will that purge all http://www.example.com/css/apc.php which has query strings. like http://www.example.com/css/apc.php?value=app,
http://www.example.com/css/apc.php?value=default or do we have to send individual file like [ http://www.example.com/css/apc.php?value=app,http://www.example.com/css/apc.php?value=default] in the list. Please clarify this.
This topic was automatically closed after 14 days. New replies are no longer allowed.