MuleSoft Certified Platform Architect – Level 1 — Question 30

The responses to some HTTP requests can be cached depending on the HTTP verb used in the request.
According to the HTTP specification, for what HTTP verbs is this safe to do?

Answer options

Correct answer: D

Explanation

According to the HTTP specification, GET, OPTIONS, and HEAD are considered safe methods for caching responses as they do not alter server state. In contrast, methods like PUT, POST, and DELETE modify resources and are therefore not safe for caching.