added cache enabled flag