cache invalidation must not done right after reading the header!?