Forum Discussion

Andrea_Arquint's avatar
Andrea_Arquint
Icon for Nimbostratus rankNimbostratus
Dec 21, 2011

uri based cache handling

Hi

 

 

I maden an iRule:

 

 

 

when HTTP_REQUEST {

 

 

 

 

if { [HTTP::uri] contains "/a_string/" } {

 

CACHE::disable

 

}

 

 

}

 

 

 

This works but I get following errors and I cannot explain by myself why they occur.

 

 

 

Dec 21 11:07:41 local/tmm2 err tmm2[6080]: 01220001:3: TCL error: irule_vs_dk_ramcache - Operation not supported (line 8) invoked from within "CACHE::disable"

 

 

 

Is anyone able to help me?

 

 

 

 

 

Kind regards

 

bb

 

  • i guess you have not enabled ramcache in http profile which virtual server is using.
  • Hi nitass

     

     

    That was the issue. I had virtual servers assigned to this iRule which had not ramcache enabled in their http profile.

     

    Many thanx for your help.

     

     

    How can I find this information?

     

     

     

    Kind regards

     

    bb
  • How can I find this information? i guessed from the error, did a bit test and got the exact same error as yours.
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Are you looking for the info on how to enable it, or how to know what the error message meant in the first place? :)

     

     

    Colin