Update imgcache.js

Hi,

Here a first proposal to enable an automatic cache clear based on the cache size...

Regards

Pascal