<![CDATA[Example 1: Page inclusion with different cache directives]]> ac4a0718-b4ad-11e1-b12d-c524a635a326 831e9c0a-b55e-11e1-9e36-c524a635a326 89787413-b4ad-11e1-b12d-c524a635a326 In this example a JSP file is included by another one.

  • The cache property of the first file is set to "never", which means that this resource is never cached.
  • The cache property of the included file is set to "timeout=1", which means that the cache entry for this file is cleared every full minute. 

Click here to have a look at the example and watch the values of the dates displayed when you refresh the example page.

You can see that you can set the caching properties for each file individually and that these directions are considered even if one file is included by another.

 

Following jsps are used in this example:

/dev-demo/flex-cache-demo/.content/jsps/example-include1.jsp

/dev-demo/flex-cache-demo/.content/jsps/example-include1a.jsp

 

]]>