Caching Static Files

The simplest form of caching is the caching of static file content. In this section, we will explain how static files are served in WAS as well as the opportunities for caching them.

Static File Handling

To understand static file handling in WAS, let's set the stage by describing how things are laid out in a typical J2EE application. Recall that a J2EE application is packaged as a single file known as an EAR. The EAR in turn contains a variety of J2EE modules—in particular, a WAR file. The WAR file of course contains web-related components, including static elements such as HTML files and graphics, plus Servlets, JSPs, and other Java classes. In the most simple deployment scenario, the EAR file is deployed to an application ...

Get IBM WebSphere: Deployment and Advanced Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.