Documentation Center

Enabling, Disabling, and Clearing Caching

During development, you may find it more efficient to disable document-level caching. After you have completed active development, enable caching.

About this task

Content Delivery uses document-level caching. While this makes browsing the publication efficient, it can cause difficulties when customizing the XSL. Whenever a document is loaded and filtering (personalization) is not set, the first HTML rendering of that document is saved to /db/LiveContent/working/data/pub/lang/cache/resource . The next time that document is required (without filtering/personalization) it is not rendered by XSL, but the saved version is returned.

To manually clear the cache, you can Prepare a language version or clear the cache through the Content Delivery interface.

Perform one of the following procedures.

  • To enable or disable caching:
    1. If you are in a Content Delivery tool, click Home in the breadcrumb trail.
    2. In the Administration Tools pane, click Manage Application.
    3. Click Global Config.
    4. Set cache.data.enable to No.

      To enable caching, set it to Yes.

    5. Click Save.
  • To manually clear the cache for all language versions:
    1. If you are in a Content Delivery tool, click Home in the breadcrumb trail.
    2. In the Administration Tools pane, click Manage Publications.
    3. Click Clear Cache.
    4. Click OK.
  • To manually clear the cache for a single language version:
    1. If you are in a Content Delivery tool, click Home in the breadcrumb trail.
    2. In the Administration Tools pane, click Manage Publications.
    3. In the left pane, navigate to the language version in which you want to clear the cache.
    4. Click Clear Cache.
    5. Click OK.