Entering content frame

Procedure documentation Manipulating Cache Properties Locate the document in its SAP Library structure

Use

The Structure link Internet Communication Framework is used to set the "cachability", the validity period, and the ETag of an existing object when the HTTP response is being created.

Procedure

Use the following methods of the class Structure link IF_HTTP_RESPONSE 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 ETag 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 ETag (optional).

SERVER_CACHE_EXPIRE_DEFAULT

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

 

 

 

Leaving content frame