How to purge the cache of a page

I get sometimes requests from customers to invalidate the cache for a particular webpage only.

From inside the server the PURGE request is allowed so:

curl --insecure -I -H "Host:www.racoonlab.com" -X PURGE http://localhost/whatever/whatever/whatever/

Another option is to use telnet:
Since telnet commands are not meant for humans, typing a long command will result to a connection lost. Therefore I tend to copy the command I need to execute into the clipboard. Then run:

telnet locahost 80

press enter and paste the command

PURGE /static/theme/2017/base/css/tfs-ru-en.css HTTP/1.1
HOST: www.racoonlab.com

Please note there should be an empty line at line 3.

You can also add

X-Forwarded-Proto: https

for ssl urls.