The flushCacheByKey tag

You can use this tag to flush caches for which you have specified a name. You can specify a name, scope, and key parameters as described in Table 5-3. The entry that matches the specified key values and scope is flushed when the tag executes.

Table 5-3: flushCacheBykey tag attributes

Attribute

Required

Comments

name

Yes

The cache name.

scope

No

The cache scope. If not specified, the default is application.

parameters

No

Same as for the cache tag. The default is to include all request parameters in the key.

attributes

No

Same as for the cache tag. The default is to not include any session attributes in the key.

localeSensitive

No

Same as for the cache tag. The default is false.

headers

No

Same as for the cache tag. The default is to not include headers in the key.