Forum Discussion

f5learning9's avatar
f5learning9
Icon for Nimbostratus rankNimbostratus
Aug 21, 2024

F5 LTM - http headers

Hello group, 

 

does anybody know if there is any way to add the below headers via Load balancer, v16.1.3

 

Cache-Control: private, no-cache, no-store, must-revalidate

X-Content-Type-Options: nosniff

 

Thank you, 

  • Please use the KB , it's explain clearly to add custom headers in http profile 

    https://my.f5.com/manage/s/article/K57354286

    • f5learning9's avatar
      f5learning9
      Icon for Nimbostratus rankNimbostratus

      I tried using the Request Header Insert but unfortunately it did not work. I was able to add the header X-content-type:nosniff using an irule, but didn't find how to add the cache-control header.