section:expiresCache

Expires the nearest cache element if the specified section is updated.

This tag will locate the enclosing <util:cache> tag and expire that cache. If there is no enclosing <util:cache> nothing will happened.

If you repeat the tag, the cache will be expired if either one of the specified sections are updated.

See also

util:cache

Syntax
<section:expiresCache
   name="..."?
   property="..."?
   section="..."?
   sectionId="..."?
   uniqueName="..."?/>
Attributes
section

The section to be used to expire the cache.

sectionId

Id of the section to be used to expire the cache.

uniqueName

Use the section with this unique name instead of using the "default" section.

name

Name of bean to get section to be used to expire the cache.

property

Property to get the section to be used to expire the cache. This attribute can not be used without the name attribute.