Show TOC Start of Content Area

Function documentation Update the HTTP Cache Content  Locate the document in its SAP Library structure

Use

Quite often files that have been cached change. Therefore, the content of the cache must be updated by the system so that the appropriate version of the requested resource is returned to the client. To do this, you have to set a timeout, after which the system checks for newer versions of the files that are stored in the cache.

You may choose not to set such a timeout. In this case, you have to do some manual work to ensure that the cache does not contain irrelevant content when a resource changes. You must clear the content of the HTTP cache, either using the CLEAR_HTTP_CACHEshell command, or using the Visual Administrator. It guarantees that the next time a user requests the updated resource, the newest version of it is stored into the cache.

Prerequisites

You have to make sure that you have enabled caching on your HTTP Provider Service.

See also:

 

Managing Virtual Hosts Caches

Activities

To set the timeout for the system to update HTTP cache content, you must edit the value of the CacheTimeOut property of HTTP Provider Service running on server process. You must choose a value in the range of 1 to 15 seconds.

You can do this using the Visual Administrator tool. Then proceed as follows:

...

       1.      Open the Properties screen of HTTP Provider Service running on the server process.

       2.      Enter the value of the CacheTimeOut property in the Value input field at the bottom of the screen.

       3.      To add it to the list of properties, choose Update.

       4.      Choose This graphic is explained in the accompanying text (Save Properties).

 

End of Content Area