Question 171 · 385 in bank
Select 2
Refer to the exhibit. An application hosting server in the local data center is experiencing large amounts of traffic from end-users. A developer must optimize this API server to reduce the load on its host. What are two ways to optimize this code through HTTP cache controls? (Choose two.)
Show answer
Answer: BC
Explanation
I would go for B and C. B and C are the answers because these headers allow the API server to send cached versions of responses in the event that the content of the response has not changed since the last time it was requested. This reduces the load on the server by avoiding the need to recreate the response for every request.
Source: Adapted from community discussion — lznlxl







