priority
Specifies the priority of a document in the cache. The greater the value, the
higher its priority. Use an integer in the range of 1 through 255. The
default is 128.
ttl
Specifies the maximum number of seconds to retain a document in the
cache. Use an integer in the range of 5 through 86400. The default is 900.
nocache
Specifies that documents that conform to the match pattern are not cached.
Guidelines
A Document Cache Policy that defines the following characteristics:
v
Which documents the associated XML manager caches
Cache eligibility is determined by a shell-style match pattern that specifies which
documents (acquired via HTTP) are cached. Candidate documents are evaluated
against the expression. Only documents with a URL that match the expression
are cached.
v
The priority of a document in the cache
When the cache exceeds its maximum size, the assigned priority determines
which documents to delete. Documents with the lowest priority are deleted first.
If multiple documents have the same priority, the least recently-used document
is deleted.
v
The maximum period of time that a document is maintained in the cache
The time-to-live (TTL) or lifetime of the document in the cache. When this time
expires, the document is deleted from the cache.
Policy is set as follows:
v
If the document does not contain a
Data
or
Last-Modified
header, do not cache
the document.
v
If the document contains a
Vary
header, do not cache the document.
v
If the document contains a
Cache-Control
header (HTTP 1.1), cache the
document and use the contents of that field to determine a document shelf-life.
v
If the document contains an
Expires
header (HTTP 1.0), cache the document and
use the contents of that field to determine a document shelf-life.
v
If the document contains a
Last-Modified
header, cache the document and use
the contents of that field (in conjunction with the
Data
header) to heuristically
determine a document shelf-life (not to exceed 8 hours).
You can specify multiple document cache policies. Candidate documents are
evaluated against each policy in order and immediately cached in the event of a
match. Consequently, the order of policies is important when using the
nocache
keyword.
Use the
no policy
with a match pattern to delete specific cache policies. Use
no
policy
without arguments to delete all cache policies. These commands delete the
policies, not the documents in the cache.
Related Commands
clear
,
size
Examples
v
Caches all XML schemas with the default priority and TTL.
Chapter 17. Document Cache configuration mode
269
Summary of Contents for WebSphere XS40
Page 1: ...WebSphere DataPower XML Security Gateway XS40 Command Reference Version 3 7 2 ...
Page 2: ......
Page 3: ...WebSphere DataPower XML Security Gateway XS40 Command Reference Version 3 7 2 ...
Page 44: ...18 Command Reference ...
Page 194: ...168 Command Reference ...
Page 198: ...172 Command Reference ...
Page 206: ...180 Command Reference ...
Page 210: ...184 Command Reference ...
Page 222: ...196 Command Reference ...
Page 232: ...206 Command Reference ...
Page 238: ...212 Command Reference ...
Page 268: ...242 Command Reference ...
Page 272: ...246 Command Reference ...
Page 276: ...250 Command Reference ...
Page 288: ...262 Command Reference ...
Page 292: ...266 Command Reference ...
Page 298: ...272 Command Reference ...
Page 320: ...294 Command Reference ...
Page 322: ...296 Command Reference ...
Page 340: ...314 Command Reference ...
Page 344: ...318 Command Reference ...
Page 352: ...326 Command Reference ...
Page 360: ...334 Command Reference ...
Page 368: ...342 Command Reference ...
Page 376: ...350 Command Reference ...
Page 386: ...360 Command Reference ...
Page 392: ...366 Command Reference ...
Page 396: ...370 Command Reference ...
Page 402: ...376 Command Reference ...
Page 404: ...378 Command Reference ...
Page 408: ...382 Command Reference ...
Page 446: ...420 Command Reference ...
Page 450: ...424 Command Reference ...
Page 456: ...430 Command Reference ...
Page 520: ...494 Command Reference ...
Page 536: ...510 Command Reference ...
Page 550: ...524 Command Reference ...
Page 584: ...558 Command Reference ...
Page 600: ...574 Command Reference ...
Page 605: ... timeout 500 Chapter 63 RADIUS configuration mode 579 ...
Page 606: ...580 Command Reference ...
Page 650: ...624 Command Reference ...
Page 668: ...642 Command Reference ...
Page 704: ...678 Command Reference ...
Page 714: ...688 Command Reference ...
Page 726: ...700 Command Reference ...
Page 734: ...708 Command Reference ...
Page 752: ...726 Command Reference ...
Page 756: ...730 Command Reference ...
Page 804: ...778 Command Reference ...
Page 880: ...854 Command Reference ...
Page 892: ...866 Command Reference ...
Page 912: ...886 Command Reference ...
Page 918: ...892 Command Reference ...
Page 940: ...914 Command Reference ...
Page 946: ...920 Command Reference ...
Page 974: ...948 Command Reference ...
Page 1004: ...978 Command Reference ...
Page 1030: ...1004 Command Reference ...
Page 1032: ...1006 Command Reference ...
Page 1065: ......
Page 1066: ... Printed in USA ...