The first step in customizing the WebAccelerator system’s behavior is to
analyze the types of HTTP requests that your site receives, and determine
how you want the WebAccelerator system to handle them. Answering
questions similar to those following will help you decide how many
different acceleration policies you need.
• Which responses to requests can the WebAccelerator system cache?
• Are there requests for static documents that can remain in the
WebAccelerator system’s cache for several days?
• Which responses are dynamic documents that the WebAccelerator
system should refresh hourly?
• Are there responses to requests that the WebAccelerator system should
never cache?
Once you decide on the different ways that the WebAccelerator system
should handle specific requests and responses for your site, you need to
determine how the WebAccelerator system can identify those requests, so
that it can apply the appropriate acceleration policies.
By default, the WebAccelerator system includes the following HTTP
request elements in the UCI:
• Host
• Query Parameter
• Unnamed Query Parameter
• Path Segment
• Protocol
By default, the WebAccelerator system does not include the following
HTTP request elements in the UCI:
• Method
• Cookie
• User Agent
• Referrer
• Header
• Client IP
Supported HTTP request data parameter types for proxy rules
The HTTP request data type parameters on which you can base proxy rules
are:
• Protocol
• Host
• Method
• Query parameter
• Unnamed query parameter
• Path segment
• Cookie
• User agent
• Referrer
• Header
• Client IP
Segment keys
In a path, a segment is the portion of a URI path that is delimited by a
forward slash (/). For example, in the path: /apps/search/full/complex.jsp,
apps, search, full, and complex.jsp all represent path segments. Further,
each of these values are also the segment key, or the name of the segment.
Segment parameters
A segment parameter is a value that appears after the segment key in a path
segment. Segment parameters are delimited by semicolons. For example,
magic, shop, and act are all segment parameters for their respective path
segments in the following path:
/apps/search/full;magic/complex.jsp;shop;act
To specify segment parameters, you must also identify:
• Segment ordinals
• Segment parameter ordinals
文章评论