ExamGecko
Home Home / F5 / 301b
Question list
Search
Search

List of questions

Search

Related questions











Question 40 - 301b discussion

Report
Export

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' } }
Answers
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' } }
Answers
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' } }
Answers
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' } }
Answers
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' } }
Suggested answer: C
asked 24/09/2024
nir avron
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first