exchange cache sequence of  headers and content