Forum Discussion
caching_irule
Hello Team,
I need an irule to cache. for example; but all requests come to the same vip so I need to seperate the uries through irule
caching ages are 300 seconds and sizes are 200 mgbytes
1) (http://demofloo.com – html output) is it possible in v 10x if we upgrade to v11x will we be able to cache trough ifile or is there any way ?
but if it is not possible we can go on requests I've stayed below
2) (.png, .jpg, .jpeg, .gif) ı need to cache these on main page http://demofloo.com
(Http Referrer informations “http://demofloo.com for image requests)
3) if page starts with this “http://panda.floo.com/assets/”
fextensions: .htm, .html, .eot, .otf, .svg, .ttf, .woff, .png, .jpg, .jpeg, .gif, .js, .swf, .res, .css, .ico, .axd, .less
4) “http://demofloo.com/list/” for without extensions requests
extensions: .jpeg, .jpg, .gif, .png
I'm also writing something for above reguests.However,if you help me about this topic i will be glad so much because this situation is very urgent case for us.
Thank you in advance.
Kind regards,
3 Replies
- What_Lies_Bene1
Cirrostratus
The examples here might help you along;
-https://devcentral.f5.com/wiki/iRules.CACHE__enable.ashx
-https://devcentral.f5.com/wiki/iRules.CACHE__disable.ashx
More details on all cache related commands: https://devcentral.f5.com/wiki/iRules.CACHE.ashx - waterfall_10467
Altostratus
hello ,
I am already aware of these . ı had only wanted to learn how to write irule about this. but still thanks
- What_Lies_Bene1
Cirrostratus
Regarding 1) check out this thread for a great example of using iFiles, if you still need help, post back; https://devcentral.f5.com/community/group/aft/2165545/asg/50
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com