May be a basic problem but when I use the {{cache}} macro, the content is
never refreshed (not after the default 5 minutes, nor the specified time by
the timeToLive).
I'm using XWiki 4.2.
--
View this message in context:
{{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:
Since in your installation, the page is accessed every 5 minutes by a cron
script, the cache never expires.
The cron script is a simple call to curl that copy the content of the wiki
page to a static html page. The aim is to make a home page that is very fast
to render.
Disabling the pooling
Hi,
I'm trying to install XWiki 4.2 on Tomcat container (on Linux Redhat 6.3)
For the extension manager, I have set the proxy using
-Dhttp.proxyHost=theproxy -Dhttp.proxyPort=8080 -Dhttps.proxyHost=theproxy
-Dhttps.proxyPort=8080
the in the CATALINA_OPTS.
Each time the XWiki is started, I have