smarter cache folder usage