Home
Value/not-value ranges
Values and Not-values ranges are used to define ranges of integer values that specify whether or not a fragment is cached. They are specified using the <range tag and specifying low and high values.
Example 6-6 Specifying value range
<value><range low="1" high="100" /></value>
Example 6-7 Case 1: Specifying value range
<component id="parm1" type="parameter"><required>true</required><value><range low="10" high="20" /></value></component>
Example 6-8 Case 1 results: Value range
Request = ../jspname.jsp?parm1=10Result: CachedRequest = ../jspname.jsp?parm1=-1Result: Not cached
Example 6-9 Case 2: Specifying not-value range
<component id="parm1" type="parameter"><required>true</required><not-value><range low="-10" high="25" /></not-value></component>Example 6-10 Case 2 results: Not-value range
Request = ../jspname.jsp?parm1=5Result: Not cachedRequest = ../jspname.jsp?parm1=85Result Cached