F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

3 Replies

  • If you want to insert into HTML then you have to collect the response (which is relatively CPU intensive), insert the header and then forward, however there is a much easier way to acheive the same thing using HTTP/1.1 Cache-Control headers;-

    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"
    }
    }