Clearing/Optimizing Cache Option

In several projects, sometimes the cache stores in bad data or gets corrupt and either destroys the project or takes up unnecessary space.
To deal with it, we can clear all of the cache by deleting our cache folder. However, this clears ALL the cache, meaning assets and so on.

Can we get an option to clear cache for specific projects and as a side-dish, an “optimize cache” option that can clear unused cache data?