
Answer-first summary for fast verification
Answer: You have to configure the web servers to compress responses even if the request has a Via header.
The most likely cause of the problem is that the web servers are configured to not compress responses when they detect a Via header, which is added by Cloud CDN. This behavior prevents Cloud CDN from caching compressed content. The correct solution is to configure the web servers to compress responses even if the request includes a Via header, ensuring that Cloud CDN can cache and serve compressed content to end users.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have set up Cloud CDN with HTTP(S) load balancing as the origin for cacheable content. Although compression is enabled on the web servers, the responses delivered by Cloud CDN are not compressed.
What is the most probable reason for this issue?
A
You have not configured compression in Cloud CDN.
B
You have configured the web servers and Cloud CDN with different compression types.
C
The web servers behind the load balancer are configured with different compression types.
D
You have to configure the web servers to compress responses even if the request has a Via header.
No comments yet.