Confluence Docs 3.0 : Disable Velocity Caching This page last changed on Nov 30, 2008 by smaddox. When you are developing for Confluence, it is often useful to disable the caching of the velocity templates so that you don't have to restart the server to see velocity changes. Perform the following modifications before starting the server, or restart it afterwards: Edit your Velocity properties, which you will find in one of the following locations: `./confluence/src/etc/java/velocity.properties`, or if you are using the webapp: `/WEB-INF/classes/velocity.properties` for Confluence 2.5 and earlier, or `confluence/WEB-INF/lib/confluence-[version].jar#velocity.properties` for Confluence 2.6 and later. Set all the `...resource.loader.cache` values to `false`. Set the `class.resource.loader.cache` to `false`. (If this entry does not exist, you can skip this step.) Set `velocimacro.library.autoreload` to `true`. (Uncomment the line if necessary.) Unfortunately, this does not apply to the macro library (macros.vm). Hence, a restart is essential.

Document generated by Confluence on Nov 05, 2009 23:34