What is the purpose of the 'Cache-Control' header in HTTP?
Practice Questions
1 question
Q1
What is the purpose of the 'Cache-Control' header in HTTP?
To manage user authentication
To specify caching policies for responses
To define the content type
To indicate the server's load
The 'Cache-Control' header specifies caching policies for responses, helping to control how and for how long responses are cached by clients and intermediaries.
Questions & Step-by-step Solutions
1 item
Q
Q: What is the purpose of the 'Cache-Control' header in HTTP?
Solution: The 'Cache-Control' header specifies caching policies for responses, helping to control how and for how long responses are cached by clients and intermediaries.