JXTG template caching with static cache key and NOP Validity

Sample page

This content has been generated at

Caching configuration is jx:cache-key="abc" jx:cache-validity="$ {Packages.org.apache.excalibur.source.impl.validity.NOPValidity()}"

This means that once the content is generated it never expires (NOPValidity) and be served the same for any parameter combination (cache-key is static).
The content WILL expire if the template source has been changed.

You may try to reload the page and see if generation date changes.
You may try to define additional request parameters to see that it does not change a thing.

Next sample: Request parameter based caching.
Go back to Cocoon Template samples.