Dashboard > Confluence User Guides and Documents > ... > Development Tips > Disable Velocity Caching
Disable Velocity Caching Log In   View a printable version of the current page.

Added by jnolen, last edited by mryall on Nov 02, 2006  (view change)
Labels: 

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:

  1. Edit ./confluence/src/etc/java/velocity.properties (or /WEB-INF/classes/velocity.properties if you are using the webapp).
  2. Set all the "...resource.loader.cache" values to false.
  3. Set the "class.resource.loader.cache" to false.
  4. Set "velocimacro.library.autoreload" to true (uncomment the line if necessary).

This will allow even the macro library (macros.vm) to reload automatically.

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators