Home


WebSphere Commerce Web service caching

Caching Web services using WebSphere Application Server is similar to caching static Web pages. As long as the request and response do not change, it is the simplest and most effective type of Web services caching. However, for those Web service requests that have dynamic data, such as a timestamp, simple caching does not work. The hash algorithm always generates a different hash key value even if the request is unchanged and appears cacheable. As an example, an OAGIS XML message contains CreationDateTime which is a mandatory element of ApplicationArea. Since this element changes on a per request basis, the hash algorithm produces a different value even though the request could be cacheable.

WebSphere Commerce caches Web service requests that contain dynamic elements. The WebSphere Commerce Web services framework leverages DynaCache to cache Web service requests instead of using WebSphere Web services caching.

+

Search Tips   |   Advanced Search