Web Response Cache 1.0

This feature enables local caching for web responses. It includes the distributedMap feature and performs automatic caching of web application responses to improve response times and throughput. Applications can include a cache-spec.xml file to customize the response caching. The cache may be distributed through addition of a network cache provider such as WebSphere eXtreme Scale.

Enabling this feature

To enable the Web Response Cache 1.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>webCache-1.0</feature>

Feature configuration elements

Liberty API packages provided by this feature

  • com.ibm.websphere.command

  • com.ibm.websphere.command.web

  • com.ibm.websphere.servlet.cache

Features that this feature enables

Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-15.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

com.ibm.websphere.appserver.webCache-1.0; type="osgi.subsystem.feature"

SPI packages provided by this feature

  • com.ibm.wsspi.cache.web