Share this page

# web_cache_cleanup

Clears the contents of the cache simulator.

## C Language

    int web_cache_cleanup( );

Example: web_cache_cleanup | Miscellaneous Functions

## Java Language

    int object.cache_cleanup( );

Example: web.cache_cleanup | Miscellaneous Functions | Java Syntax

Argument | Description
--- | ---
object | An expression evaluating to an object of type WebApi. Usually web for Java. See also Function and Constant Prefixes.

## Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

## Parameterization

Parameterization is not applicable to this function.

## General Information

The web_cache_cleanup 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.

This function is supported for all web scripts.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: