QuestionQ281
Using APIs
Refer to the exhibit. An application-hosting server in the local data center is receiving large volumes of traffic from end users. A developer must optimize this API server to reduce the load on its host. Which two methods can optimize this code through HTTP cache controls?
Choose two
- A Include the “Content-Type” header in the API response.
- B Include the “Last-Modified” header in the API response.
- C Include the “ETag” header in the API response.
- D Leverage middleware caching and respond with HTTP code 204 in the API response.
- E Leverage middleware caching and respond with HTTP code 104 in the API response.
Community Discussion