Appendix C. Stylesheet Refresh Policy Configuration; High-Level Procedure; Example - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Appendix C. Stylesheet Refresh Policy configuration

Disabling the cache can be performance concern and might not be your goal. When
style sheets are not cached, an XSLT compilation is run on every single transaction.
If you need to disable stylesheet caching, create a separate XML Manager for the
particular service where stylesheet caching is not required.
Do not disable stylesheet caching for a widely used XML Manager. For example,
do not disable caching on the default XML Manager.

High-level procedure

Use the following procedure to implement a Stylesheet Refresh Policy:
1. Use the urlmap command to create one or more URL maps.
2. Use the match command to add shell-style match patterns to the URL map or
If desired, you can use the test urlmap command to test candidate patterns against
a specific URL map.
1. Use the urlrefresh command to create a Stylesheet Refresh Policy.
2. Use the disable cache, disable flush, or interval urlmap command to populate
If desired, you can use the test urlrefresh command to test a given pattern against
a specific Stylesheet Refresh Policy.
1. Use the xslrefresh command to assign the Stylesheet Refresh Policy to a

Example

The following example shows how to use commands to create the
dataglue_no_refresh URL refresh policy that disables stylesheet caching for the
contivo-mgr XML Manager:
xmlmgr contivo-mgr
urlrefresh "dataglue_no_refresh"
reset
disable cache "ALL"
exit
xslrefresh contivo-mgr "dataglue_no_refresh"
© Copyright IBM Corp. 1999, 2008
maps.
the Stylesheet Refresh Policy with one or more URL maps, and (when required)
to assign a refresh interval to each URL map that was added to the Stylesheet
Refresh Policy.
specific XML Manager.
1005

Advertisement

Table of Contents
loading

Table of Contents