Forum Discussion
Naman_65674
Nimbostratus
Aug 25, 2009RAM Cache- Serving expired content when pool is down
Hi,
We currently have a HTTP profile which caches content going to a certain URI. If the pool is down and the content is still "fresh" in the cache then the requests are served fine, but if the po...
hoolio
Cirrostratus
Aug 25, 2009Hi Naman,
Is all (or even most) of the site content cacheable? If not, I'm not sure there is much use in trying to serve the cached content if the dynamic content can't be served.
That said, if you set a very long expire time in the HTTP profile you could handle the expiration in an iRule using CACHE::age and CACHE::expire (Click here). If the pool is up, you could expire the content using the same time expiry you have set in the profile now. If the pool is down, you could not expire the cache content.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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