cached_planned function

List targets in both the plan and the cache.