Web OS 10.0 Application Guide
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.
>> # /cfg/slb/layer7/redir/add|remove <expression>
b) Enable/disable ALLOW for non-GETS (such as HEAD, POST, and PUT) to the ori-
gin server, as described below.
>> # /cfg/slb/layer7/redir/urlal ena|dis
o
o
c) Enable/disable cache redirection of requests that contain "cookie:" in the HTTP
header.
>> # /cfg/slb/layer7/redir/cookie ena|dis
o
o
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.
>> # /cfg/slb/layer7/redir/nocache ena|dis
o
o
n
398
Chapter 15: Content Intelligent Switching
Ena: The switch allows all non-GET requests to the origin server.
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.
Ena: The switch redirects all requests that contain "cookie:" in the HTTP header to
the origin server.
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.
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.
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.
212777-A, February 2002