Forum Discussion

zafer's avatar
zafer
Icon for Nimbostratus rankNimbostratus
Apr 01, 2008

Ramcache only spesific folder

Hi All,

 

 

i want cache only /images/* and /img/* folders and i dont want cache all other folders unders my website and i have alot of folders i dont want write all folder name in http profile configuration

 

 

how can i do with irule

 

 

regards

 

 

Zafer Berber

2 Replies

  • Hi,

     

     

    Why not doing it within the HTTP profile ? you can specify in the HTTP profile which uri you want to cache.

     

     

    If you want to do this with an iRule you can use the different CACHE command like CACHE::disable to disable caching for request not matching your need.

     

     

    For more information about this you can check this link: Click here

     

     

    HTH

     

     

  • zafer's avatar
    zafer
    Icon for Nimbostratus rankNimbostratus
    Hi

     

    i can include cacheable folders but i have alot off folders for exclude,i dont want write all folder names and i dont know all folder names .

     

     

    i want do like a firewall policy its simple no need to write eclude folder names

     

     

    for example ; use cache /images/* and /img/* and exlclude all other folders

     

     

     

    regards

     

    zafer