The cache tag 

Overview 

This tag is used to cache everything inside it's tags. 

Tag Usage 

<jee:cache cacheId="id for cache" scope="application|session" TTL="no of seconds to cache for">
  Content to be cached
</jee:cache>

cacheId – The Id of the cache

scope – The scope of the cache

TTL – the time to load (or refresh) seconds

Example 

The following code shows an example of using this tag:   

<%@ taglib uri="jeenius" prefix="jee" %>
<jee:cache cacheId="demoCache" scope="session" TTL="300">
<p>This line is cached: <b><%= new java.util.Date() %></b> (with a 5 minute time to live)</p>
</jee:cache>