Forum Discussion
How to tell if the Web Acceleration Profile cache has been cleared?
So I have been working with:
But the return type from the call is void, so I have no way of knowing if this has worked or not. Is there a subsequent IControl call I can use (or use the data from) to work out if the cache has been cleared?
2 Replies
- What_Lies_Bene1
Cirrostratus
Pretty poor isn't it. This very issue informed point 3 in this API related blog I wrote: http://packetpushers.net/attributes-great-network-device-api/.
A call to
seems to be your only option but involves you having to compare those to the same, prior to cache clearance. Not ideal.get_statisticsThat, or you simply trust that if you didn't get an error, it worked.
- whithajess_1787
Nimbostratus
Just in case anyone else is wondering about this all of the cache info accessible from the API I found, cannot be used to completely confirm that a cache has been cleared. (mainly because the cache will still be in use) So I went with the simply trust it worked if it didn't error option as opposed to adding a race condition to the confirmation message (I take it this is why there is no response from the call)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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