Hi,

Today I found this excellent script for the job.

All the credit goes to http://jasonwarren.ca/clearspconfigcache/