Flushing the cache
Jump to navigation
Jump to search
To clear one or more URLs pipe them to following command as www on either tau or gimel:
scl enable httpd24 'xargs htcacheclean -v -p/nfs/work/www/zinc15/cache'
e.g.
echo 'http://zinc15.docking.org:80/tranches/all3D.json?' | scl enable httpd24 'xargs htcacheclean -v -p/mnt/nfs/export/cache/zinc'
Note that the URL must include the port after the host name and always have a ?, even if there are no query args. If you're invalidating lots of URLs add the -L 100 arg to xargs. If you want to invalidate everything use the "-r" argument... but try disabling caching in the config and reloading the server first.