The cache macro refresh its content when the macro has not been used during
5 minutes actually not when it's 5 minutes old AFAIK.
On Wed, Nov 7, 2012 at 11:00 AM, aflament <aflament(a)geodisbm.com> wrote:
{{cache timeToLive="14400"}}
{{groovy}}
import groovy.sql.Sql
request = '...'
sql = Sql.newInstance( '...', '...', '...', '...' )
sql.eachRow( request ) {
println "* $it.qui"
}
{{/groovy}}
{{/cache}}
--
View this message in context:
http://xwiki.475771.n2.nabble.com/problem-with-the-cache-macro-tp7582215p75…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne