Forum Discussion
Oto_Maly_69556
Jul 27, 2012Nimbostratus
Conditional Refreshing Documents in Cache
Hi,
I am wondering if it is possible to control cached documents in some conditional way.
I have a scenario where there are several dependent documents.
e.g. url1, url2, url3 with cache headers of 15 minutes
at time
00:00 client browses url1
05:00 client browses url2
10:00 client browses url3
each of the documents will expire at different time, but those documents are very dependent.
In case new version of some of the documents is found, i would like to refresh in LB cache also the other two.
at time
16:00 client browses url1 - cache finds out it is expired and refreshes it.
If it finds a new version of url1, it should refresh url2 and url3 in the LB cache.
Is something like that possible? Can you give me some hints on such iRule?
Or basically some rule that if any of the url1,url2,url3 is expired, it will refresh all of them.
so if at time 00:00 url2 is requested LB will request also url1, and url3 and store it is it cache.
obviously to client at this time it will only send reponse to url2.
Thanks
regards
Oto
- dlg_23340CirrusOto, what's your caching appliance? What version are you running on the LTM?
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects