allow ApplyCacheHeaders to be overridden when inheriting this class