Dynamic caching tutorials
The following tutorials describe how to use dynamic caching.
- Tutorial: Improve WebSphere Commerce performance with dynamic caching
The tutorial provides hands-on exercises that illustrate several basic dynamic caching (dynacache) tasks in WebSphere Commerce to improve performance. It shows you how to overcome problems commonly encountered with dynacache, and demonstrates helpful tips and tricks.
- Tutorial: Invalidating cache
This tutorial introduces different methods to perform cache invalidation. Upon completing this tutorial, we will list several different methods for invalidating the cache entries, and understand how to implement each of them.
- Tutorial: Building cache identifiers
When the dynamic cache service places an object in the cache, it labels it with a unique identifying string known as a cache ID. The cache Id constructed according to <cache-id> rules specified in the <cache-entry> elements. The <cache-id> rules define how to construct cache-ids from information associated with an application server request.
- Tutorial: Using dynacache's API to not cache
This tutorial teaches you how to use the dynacache API to prevent pages and fragments from being cached. After completing this exercise, we will be able to work with cachespec.xml to define rules for cause pages and fragments not to be cached.
- Tutorial: Configuring edge side caching using ESI
This tutorial teaches you how to configure Edge Side caching using Edge Side Include (ESI). After this tutorial, we will be able to cache full-pages and page fragments at the edge of the network.
- Tutorial: Operating dynacache in a production environment
Until this point, the tutorials have focused on dynacache functionality in a basic environment. This tutorial addresses issues and concerns associated with operating dynacache in a production environment. In particular, tuning parameters for disk offload, and cache replication. After completing this tutorial, we will setup cache replication in the environment, and tune the dynacache settings to facilitate more efficient invalidation of the cache entries residing on the disk.