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 "groups", and based on the initial GET and a URI string using a ? to determine what "group" you belong to, your content will be seen. This is an eCommerce site using shopping carts and as the different "groups" progress though the site, they will be accessing the same dynamic/static content, but prices will be detemined by the original GET and group assignment.
EXAMPLES:
www.buyawidget.com/groups/path?group=business1
AND
www.buyawidget.com/groups/path?group=business2
business 1 can buy 'widget A' with a price of $5
business 2 can buy 'widget A' with a price of $10
All the page content, except the price and perhaps the business logo, is pulled from the same location (style sheets, images, html, js, etc.)
When business 1 lands on their "portal" the application uses a proxy user to communicate with the front end webserver (weblogic) to determine what unique info is presented in the browser. This proxy user info is internal to the pool member and does not get passed on the wire (from weblogic to the app running on the weblogic server).
The issue is that I need to be able to cache as much as possible, and prevent business 1 from seeing business 2 data, and vise versa. The only unique URL is the very first one, all other URLs will be the same no matter what group you belong to.
There could be potentially hundreds of groups all with different pricing, incintives, etc. The goal is to be able to serve all of these groups and not have to create a portal, or VS for each group as the public URL needs to be the same.
I would appreicate any help on this.
Thanks
- bl0ndie_127134Historic F5 AccountI 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.
- Leslie_South_55
Nimbostratus
Forgive the stupid questions, but by host header, are you referring to the actual host as in the "Host: x.x.x.x" in the HTTP GET request? If so, then the answer is yes, they are the same. All requests will be going to a single VS, that points to a single pool with 3 members. - Leslie_South_55
Nimbostratus
To provide a bit more clarification, when any business/group selects widget A, the URL would be something like - bl0ndie_127134Historic F5 AccountYes I am referring to the HTTP Host header.
- Leslie_South_55
Nimbostratus
I really appreciate the help thus far. I still have a long way to go to understand the 3 options you mention, but I will continue to research those on the forum.
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