Fix clearing cache on boot