Browser & Web Performance · Middle · Question 41 of 75

What is the Vary response header for?

Explanation

For example Vary: Accept-Encoding keeps Brotli and gzip variants apart. Varying on very diverse headers like User-Agent hurts cache hit rates.

Further reading

Problem with a question

Browser & Web Performance · Middle · question 41

Test yourself

Take the Browser & Web Performance · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz