O'Reilly logo

IBM WebSphere: Deployment and Advanced Configuration by Roland Barcia, Keys Botzum, Tom Alcott, Bill Hines

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Planning for Caching

Caching is best done as a planned activity, not as something that is retrofitted on an existing application. The latter is quite possible but not as easy or fruitful. Obviously, the best candidates for caching are operations (or files) that are large, slow, or expensive to produce. They should also be public—the more users that can take advantage of a given cache entry, the better. Therefore, private data is not a good candidate for caching. Pages that have been “personalized” to include information specific to a particular user make poor candidates for caching, but there are ways around that if you have a good design. Consider an airline frequent flyer page that presents:

  • The user's name, status, and point total in a welcome ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required