add test for only one dimension
regenerate file if target is newer
add app method to clear cache
add possiblities to clear caches