What is the purpose of the 'Cache-Control' HTTP header?
A. To set the language of the content
B. To authenticate the user
C. To specify caching policies for the resource
D. To control the format of the response
Answer: Option C
Solution (By JKExamLibrary)
The Cache-Control header is used to define caching directives such as max-age, no-cache, and private, controlling how and for how long the resource can be cached.
Which protocol works at the network layer to transmit error alerts, status notifications, and network diagnostics data, heavily utilized by troubleshooting tools like 'Ping'?
Explanation:
ICMP (Internet Control Message Protocol) is used by network devices to send error messages and operational information, such as indicating that a requested host is unreachable.
Which file is placed on a website's server to give instructions to search engine web crawlers about which paths and directories should not be scanned or indexed?
Explanation:
The robots.txt file is a standard text file used by websites to guide web robots and crawlers regarding which parts of the site they are allowed to index.
Explanation:
WWW stands for World Wide Web, which is an information system where documents and other web resources are identified by URLs and can be accessed via the Internet.
No comments yet. Be the first to start the discussion!