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...
bl0ndie_127134
Apr 13, 2007Historic F5 Account
I assume all of these requets have the same Host header? If they are different then you should not have to do any thing as the Host is pary of the URI key.
If the host header is the same then you can use the 'CACHE::uri ' to build a logical uri that ramcache uses to key the cached document. So in your case, the rule might look like 'CACHE::uri [HTTP::uri]$my_session_string' where the session_string is a string derived from the user specific application.
This forces the to store the documents under the different URI without actually changing the URI on the wire. This logic should be employed in HTTP_REQUEST event.
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