Forum Discussion

mawan_revera's avatar
mawan_revera
Icon for Altostratus rankAltostratus
Sep 18, 2019

caching profile not caching items

Hello - i created a caching profile

ltm profile web-acceleration sitconnectonline {

  app-service none

  cache-client-cache-control-mode all

  cache-max-age 86400

  cache-max-entries 10000

  cache-object-max-size 2000000

  cache-object-min-size 0

  cache-size 30mb

  cache-uri-exclude none

  cache-uri-include { .*/ie/n/default/opt/core-11.1.1.9.0-5072.js "(\?#glob)*/ie/n/default/opt/boot-11.1.1.9.0-5072.js" }

  cache-uri-include-override none

  cache-uri-pinned none

  defaults-from optimized-caching

}

 

but the item is not getting cached - and in the statistics i am seeing misses -

Misses (Uncacheable) 2.0K 13.1M 

am i missing something - Thanks

 

  • Hi

     

    Is the object that you are trying to cache defined as being cacheable?

     

    Taken from https://support.f5.com/csp/article/K14903 ...

     

    The cache feature does not cache the following items:

    • Data specified by the following Cache-Control headers: privateno-storeno-cache
    • Action-oriented HTTP methods such as HEAD, PUT, DELETE, TRACE, and CONNECT

     

    • mawan_revera's avatar
      mawan_revera
      Icon for Altostratus rankAltostratus

      Thanks for the reply -- it was my mistake -- i did not check the headers -- and after changing them -- F5 is caching these items