incremental caching for db and icons/screenshots (bug 993180, bug 993727)