tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GF <gan...@gmail.com>
Subject Caching specific Tiles.
Date Wed, 20 Oct 2010 13:42:37 GMT
Hello all.
I've a quite common configuration

An inclusion of three tiles:

<tiles:useAttribute name="header" />
<tiles:useAttribute name="body" />
<tiles:useAttribute name="footer" />

on every request the "changing" item is body, usually header and
footer change very rarely.

I wish to have something like

<tiles:useAttribute name="header" cacheSeconds="3600" />

In this way the header "HTML" will be cached for 1 hour.

Is possible to do something like that with standard tiles libraries?
I've not found anythng similar on the Tiles documentation.

Mime
View raw message