Forum Discussion
Kevin_382901
Apr 16, 2019Nimbostratus
Using iControlREST to list entries in ramcache
I'm trying to build a bash script to query the F5 so that we can see what entries are on the ramcache profile. I am able to delete entries with:
curl -sk -u $USERNAME:$PASSWORD -X DELETE
...
Satoshi_Toyosa1
Apr 24, 2019Ret. Employee
Here's a tmsh command example for removing the specific cache entry from the webacceleration ramcache by URI. In this case,
/foo.html
.
tmsh delete ltm profile ramcache webacceleration uri /foo.html
The iControl REST equivalent is
curl -sku : -X DELETE \
https:///mgmt/tm/ltm/profile/ramcache/webacceleration?options=uri,/foo.html
There are many ways to manipulate the cache entries. Please refer to the tmsh help (from the tmsh prompt,
help ltm profile ramcache
).
By the way, please consider posting the equivalent tmsh command you wish to perform if possible. That way, people can know exactly what you would like to do.
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