Nortel Networks WEB OS 212777 User Manual

Page 398

Advertising
background image

Web OS 10.0 Application Guide

398

n

Chapter 15: Content Intelligent Switching

212777-A, February 2002

3.

Configure the parameters and file extensions that bypass WCR.

The switch is preconfigured with a list of 13 noncacheable items:

n

Dynamic content files: Common gateway interface files (.cgi), cold fusion files (.cfm),
ASP files (.asp), BIN directory, CGI-BIN directory, SHTML (scripted html), Microsoft
HTML extension files (.htx), executable files(.exe)

n

Dynamic URL parameters: +, !, %, =, &

a)

Add or remove expressions that should not be cacheable.

b) Enable/disable ALLOW for non-GETS (such as HEAD, POST, and PUT) to the ori-

gin server, as described below.

o

Ena:

The switch allows all non-GET requests to the origin server.

o

Dis

: The switch compares all requests against the expression table to determine

whether the request should be redirected to a cache server or the origin server.

c)

Enable/disable cache redirection of requests that contain

cookie:

” in the HTTP

header.

o

Ena

: The switch redirects all requests that contain “cookie:” in the HTTP header to

the origin server.

o

Dis

: The switch compares the URL against the expression table to determine

whether the request should be redirected to a cache server or the origin server.

d)

Enable/disable cache redirection of requests that contain “

Cache-control:no

cache

” in the HTTP 1.1 header or “

Pragma:no cache

” in the HTTP 1.0 header

to the origin server.

o

Ena

: The switch redirects all requests that contain

Cache-control:

no

cache

in the HTTP 1.1 header or

Pragma:no cache

in the HTTP 1.0 header to the origin

server.

o

Dis

: The switch compares the URL against the expression table to determine

whether the request should be redirected to a cache server or the origin server.

>> # /cfg/slb/layer7/redir/add|remove <

expression

>

>> # /cfg/slb/layer7/redir/urlal ena|dis

>> # /cfg/slb/layer7/redir/cookie ena|dis

>> # /cfg/slb/layer7/redir/nocache ena|dis

Advertising