(Default is 3600 seconds, one hour). Supplying a negative value for this
attribute means that the content never expires.
缓冲内容的时间(秒)。默认为1小时,3600秒,如果为-1则内容你永远不过期
duration - - The duration of this cache (this attribute is an alternative to time). duration can be specified using Simple Date Format or ISO-8601 date format. [Page]
另外一种设置缓冲时间的方法。可以用简单日期格式或者ISO-8601的日期格式
cron - - A cron expression that determines when this cached content will
expire. This allows content to be expired at particular dates and/or times,
rather than once a cache entry reaches a certain age. See Cron Expressions to read more about this attribute.
定时刷新的设置。可以在指定的时间和周期进行刷新。
refresh - [false] - A boolean. If true, the cache will be refreshed regardless of whether it is
considered stale or not. This enables you to decide at runtime whether or not to rebuild the content.
强制刷新缓冲
mode - - Setting this to \"silent\" will prevent the body of the tag from being written
to the output stream. This may be useful if you want to preload the cache
with content without actually displaying that content to the user.
设置为[silent]可以让你提前把内容读取,但不会输出到。
groups - - A comma-delimited list of group names can be provided. This allows cache entries
to be grouped according to your needs. Grouping is useful when you have
cached content that depends on other parts of your application or data - when that dependency changes, flushing the relevant group will cause all cache
entries in that group to be expired.
设置分组。可以同