js cache depend on configs