add runMode: debug, normal, and prod.
use appropriate cache flag for each runMode.