Docker/Earthly caching strategy for faster "all plan"

Hi guys, are there any tips for a faster “all plan” using docker/earthly caching?
I was thinking about replacing “all plan” with individual “plan STACK” in the right order for better caching, but wondering if there is a better way to do it.

Any help would be appreciated

In the end, I just simply manually added the terraspace up STACK for each stack. It’s not DRY in Dockerfile/Earthfile but it makes the build faster by utilizing the docker cache