added a header to serveFlavor where saving to cache