URLs that get cached will expire based on the Time To Live (TTL) set either by the Cache-Control headers sent from the origin or by the logic in the VCL code.
However if you need to remove things from the cache before they expire you can do that and we have outlined the steps to do so below.
After the completion of Step #1, you should be on the cache clearing management page. At the top you will see different button groups depending on your proxy configuration. A proxy configuration with Varnish Cache and Pagespeed would have the following set of buttons:
Note: Each reverse proxy’s cache is independent of one another so you will need to navigate to each reverse proxy’s page in order to view the options and clear the cache for that corresponding reverse proxy.
We have a whole article on clearing the cache for Varnish Cache. Check it out.
Clearing the Pagespeed cache is more straight forward than clearing a Varnish Cache because there is only one option: empty the entire cache. To do this, all you need to do is click the red button labeled Empty the entire cache.