rewrote cache control