Documentation Center

Disabling XSL Caching During Development

Content Delivery caches XSL stylesheets so that they can be loaded faster and increase rendering performance. However, during a development cycle, this can make modifying XSL difficult. It is easiest to disable XSL caching and the application's document-level caching during XSL development.

Procedure

  1. Disable document-level caching within the application. If document-level caching is enabled, when a topic is rendered it will be stored in an application cache. Whenever the document is requested again, the cached copy will be returned. This cache is not invalidated by changing your skin XSLs; therefore, you will not see your change until you specifically clear this cache. See Enabling, Disabling, and Clearing Caching.
  2. To enable or disable caching, do the following:
    1. If you are in a Content Delivery tool, click Home in the breadcrumb trail.
      The Content Delivery landing page appears.
    2. In the Administration Tools pane, click Manage Application.
      The Manage Application page appears.
    3. Click Global Config.
    4. Set cache.xsl.enable to No.
      To enable caching, set it to Yes.
    5. Click Save.
  3. To manually clear the cache for all XSL, do the following:
    1. If you are in a Content Delivery tool, click Home in the breadcrumb trail.
      The Content Delivery landing page appears.
    2. In the Administration Tools page, click Manage Application.
      The Manage Application page appears.
    3. In the left pane, click Global Config.
    4. In the right pane, click Clear Cache.
    5. In response to the Are you sure you want to clear all publication caches pop-up message, click OK.
    6. In response to the Successfully Cleared Cache pop-up message, click OK.
  4. When you have completed your XSL development, enable both types of caching.