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:
- If you are in a Content Delivery tool, click Home in the breadcrumb trail.
- In the Administration Tools pane, click Manage Application.
- Click Global Config.
- Set
cache.data.enableto No.To enable caching, set it to Yes.
- Click Save.
- To manually clear the cache for all language versions:
- If you are in a Content Delivery tool, click Home in the breadcrumb trail.
- In the Administration Tools pane, click Manage Publications.
- Click Clear Cache.
- Click OK.
- To manually clear the cache for a single language version:
- If you are in a Content Delivery tool, click Home in the breadcrumb trail.
- In the Administration Tools pane, click Manage Publications.
- In the left pane, navigate to the language version in which you want to clear the cache.
- Click Clear Cache.
- Click OK.