WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Verifying the cacheable page

Use this task to verify that the dynamic cache service has its cache policies configured correctly and is serving cached content.

Before you begin

The dynamic cache service should be enabled. You should have a cache policy developed for your application. See Configuring cacheable objects with the cachespec.xml file for more information. You must have servlet caching enabled in the web container. See Configuring servlet caching for more information.

About this task

You can verify the cacheable page by invoking the snoop servlet in the default application. If the dynamic cache is working correctly, refreshing the servlet repeatedly results in viewing cached content.

Procedure

  1. View the Snoop servlet in the default application by accessing the URI: /snoop The Snoop servlet is a part of the default application. See Default Application for more information.
  2. Invoke and reload the URI several times using a different Web browser or using different parameters. This action returns the same output for the snoop servlet. The snoop servlet is now operating incorrectly, because it displays the request information from its first invocation rather than from the current request.
  3. Inspect the entry in the cache with the dynamic cache monitor. See Displaying cache information for more information.



Related tasks
Displaying cache information
Configuring cacheable objects with the cachespec.xml file
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdyn_verify.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)