Use command grouping for cache files