cascache.py: remove the code for pruning the local cache

It's no longer used
3 files changed