Which iRule will instruct the client’s browser to avoid caching HTML server responses?

Which iRule will instruct the client’s browser to avoid caching HTML server responses?
A. when HTTP_REQUEST {
if {[HTTP::header Content-Type] equals "html"} {
HTTP::header insert Pragma "no-cache"
HTTP::header insert Expires "Fri, 01 Jan 1990 00:00:00 GMT"
HTTP::header replace Cache-Control "no-cache,no-store,must-revalidate"
}
}
B. when HTTP_REQUEST {
if {[HTTP::header Content-Type] contains "html"} {
HTTP::header insert Pragma "no-cache"
HTTP::header insert Expires "Fri, 01 Jan 1990 00:00:00 GMT"
HTTP::header replace Cache-Control "no-cache,no-store,must-revalidate"
}
}
C. when HTTP_RESPONSE {
if {[HTTP::header Content-Type] contains "html"} {
HTTP::header insert Pragma "no-cache"
HTTP::header insert Expires "Fri, 01 Jan 1990 00:00:00 GMT"
HTTP::header replace Cache-Control "no-cache,no-store,must-revalidate"
}
}
D. when HTTP_RESPONSE {
if {[HTTP::header Content-Type] equals "html"} {
HTTP::header insert Pragma "no-cache"
HTTP::header insert Expires "Fri, 01 Jan 1990 00:00:00 GMT"
HTTP::header replace Cache-Control "no-cache,no-store,must-revalidate"
}
}

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.