That cache will stay for as long as you stay on that dolphin version, GPU driver, and video card.
Change any one of those and your cache will invalidate and have to recompile.
Change any one of those and your cache will invalidate and have to recompile.