Show TOC

Procedure documentationManipulating Cache Properties Locate this document in the navigation structure

 

The Internet Communication Framework is used to set the cachability, the validity period, and the e-tag of an existing object when the HTTP response is being created.

Procedure

Use the following methods of the IF_HTTP_RESPONSE class to set the cache properties for an object:

  • SERVER_CACHE_EXPIRE_ABS

    You use this method to set the expiration period for the ICM Server Cache. An absolute date and time are given. The page contained in the cache is invalid after this date and time. The input parameters for this method are an absolute date, time, and the e-tag of the object in question (optional).

  • SERVER_CACHE_EXPIRE_REL

    Sets a relative expiration period (in seconds) for the ICM server cache. The input parameters are the seconds (from the current time) and the e-tag (optional).

  • SERVER_CACHE_EXPIRE_DEFAULT

    Activates the ICM server cache and sets the default expiry period.