Forum Discussion

Hek_296914's avatar
Hek_296914
Icon for Nimbostratus rankNimbostratus
Oct 26, 2016
Solved

How to stop caching until development is completed?

Hello, i'm trying to make some changes on website, but the problem is caching. I cannon progress when i cannot see what have i done so far. Do you have any ides how to stop caching? I've alredy tried adding http headers, but without any result. Thanks

 

  • Hek, are you referring to caching in the browser or BIG-IP?

     

    Have you set these headers in the HTTP_RESPONSE event?:

     

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

     

    Pragma: no-cache

     

    Expires: 0

     

3 Replies

  • Marcus_Slawik_8's avatar
    Marcus_Slawik_8
    Historic F5 Account

    Hek, are you referring to caching in the browser or BIG-IP?

     

    Have you set these headers in the HTTP_RESPONSE event?:

     

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

     

    Pragma: no-cache

     

    Expires: 0

     

    • Hek_296914's avatar
      Hek_296914
      Icon for Nimbostratus rankNimbostratus

      I'm referring to caching in BIG-IP

      I've set those headers in => Application Security : Headers : HTTP Headers

      Header      Type        Mandatory   Check Signatures    Perform Normalization
      cookie      Explicit        No      No                  No
      pragma      Explicit        No      No                  No
      referer     Explicit        No      Yes                 Yes
      cache-control   Explicit    No      No                  No
      authorization   Explicit    No      Yes                 No
      *           Wildcard        N/A     Yes                 No
      
    • Marcus_Slawik_8's avatar
      Marcus_Slawik_8
      Historic F5 Account

      Caching in BIG-IP is controlled by Local Traffic --> Profiles --> Services --> Web Acceleration. Do you have that profile attached to your VS?

       

      I don't see how the ASM Policy will help you there.