How to refresh Squid Cache on $ or # Prompt. I need a single command.
The refresh settings are done with the refresh_pattern commands in the squid.conf file. If your cache isn't refreshing properly it could be due to the time being set incorrectly on your squid server.
For the web browser clients, "shift - refresh button" will force the browser to get the latest version of the web page from either the end website or the squid proxy server.
To forcefully clear the entire cache you'd probably have to restart the squid daemon.