Set Vary response header for json as well as html responses.