JavaScript Functions > Alphabetical Listing of Web Functions > web.cacheCleanup

web.cacheCleanup

Clears the contents of the cache simulator.

Syntax

web.cacheCleanup( );

Return Values

Not applicable

Parameterization

Parameterization is not applicable to this function.

General Information

The web.cacheCleanup function is a service function that clears the contents of the cache simulator. If the runtime setting option Simulate a new user each iteration is enabled on the Browser Emulation tab, then this function is automatically called at the beginning of each iteration.

Example

   web.customRequest(
    {
      name : 'kalimanjaro', 
      url : 'http://kalimanjaro/', 
      method : 'GET', 
      resource : 0, 
      recContentType : 'text/html', 
      referer : '', 
      snapshot : 't17.inf', 
      mode : 'HTTP'
    }
  );

   web.cacheCleanup();