Forum Discussion

Mark_Curole's avatar
Mark_Curole
Icon for Nimbostratus rankNimbostratus
Oct 22, 2008

Policy Question

We just received a pair of 6400s with WA. I have been looking over the built in policies and looking at some of my applications to see what if any tweaking needs to be done. I am starting with the Level 2 Policy.

 

 

My question is our site has a 1MB flash file on the main page that changes seasonally as we do different promotions (the file name does change). The Level 2 policy does not much with flash files by default, but it does cache them on the WA. Does it make sense to enable something like IBR or set the Lifetime rules to enable caching of this file?
  • Nicolas_Berthie's avatar
    Nicolas_Berthie
    Historic F5 Account
    You can add a new node in your custom level2 policy to handle Flash file and activate IBR. By default lifetime is set to 4 hours and I would recommend to keep as it. You can use invalidate trigger to be sure your new content will be distributed to customer.

     

     

    Nicolas
  • Nicolas_Berthie's avatar
    Nicolas_Berthie
    Historic F5 Account
    Sorry for double post.....

     

     

    You can add a new node in your custom level2 policy to handle Flash file and activate IBR. By default lifetime is set to 4 hours and I would recommend to keep as it. You can use invalidate trigger to be sure your new content will be distributed to customer.

     

     

    Nicolas
  • My question was more about should I do what you describe rather than how to do it. Another thing I am questioning is the Level 2 policy does not enable IBR by default for images.

     

     

    Again, my question is should I enable IBR for images? Or asked another way, the Level 2 policy does not enable IBR for images. Is there a techincal reason it does not? Is there something to look out for before enabling IBR for images?
  • Nicolas_Berthie's avatar
    Nicolas_Berthie
    Historic F5 Account
    Sorry I did not understand. IBR gives best result for page load time reduction. As possible, I would recommend to use it as soon as possible if it is compatible with your application. With IBR objects will be loaded from web browser cache : no latency. Level2 policy does not use IBR by default to preserve application compatibility but I think you should activate it.

     

     

    Hope this help.

     

     

    Nicolas
  • Thanks for the reply. One last question, you state that IBR cannot be applied to flash files. Is this documented somewhere? I have been experimenting with IBR with image and script content, and it is unclear what the causes IBR to come into play and to not come into play.

     

  • The criteria for content that qualifies for IBR is documented in the Policy Management Guide. All of the documentation for the product can be found on Askf5. The link to the Policy Management Guide is here:

     

     

    https://support.f5.com/kb/en-us/products/wa/manuals/product/WA_PolicyMgmtGuide_9_4_2.html

     

     

    (Click here)

     

     

    One important item if toggling between various assembly options such as IBR you should clear the cache on WebAccelerator after making a policy change - invalidating the cache won't work. To clear the cache you need to log into the command line and run the wa_clear_cache command. This should not be done on a production system with live traffic as this will stop the WebAccelerator process delete all content in cache and the restart the process. While this is occurring the application will not be accessible.