Forum Discussion
Leslie_South_55
Nimbostratus
Apr 13, 2007RAM Cache - use different cache "buckets" based on URI string
I have what I think might be an impossible challange. I need to be able to use different cache profiles, or "buckets" for a single VS. I will have a single VS, that can be accessed by multiple "grou...
IheartF5_45022
Nacreous
Apr 09, 2014Just one approach;-
when HTTP_REQUEST {
if {[URI::query [HTTP::uri]] contains "mykey="} {
set newq ""
foreach param [split [URI::query [HTTP::uri]] "&"] {
if {!($param starts_with "mykey=")} {
Build up new query parameter string
append newq $param
}
Add new query portion to path
HTTP::uri "[HTTP::path]$newq"
}
}
Rajesh_A_142089
Nimbostratus
Apr 09, 2014Thank you IheartF5! This did the job.
- Dec 15, 2015Nice Article Martin - autonagle is cool stuff. Running some tests in our lab with it - so far so good. I'm interested to see how it reacts to different traffic in a prod environment.
- tbyerly_229301Aug 03, 2016Historic F5 Account
Thanks for the article. Great explanation and examples.
- MrwillbaclimonOct 28, 2023
Altocumulus
The article has helped greatly. Good work
Overall I imagine NAS environment's are not friendly with Auto-Nagle
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