# CompileAll

## Overview

The CompileAll operation compiles all of the objects found in the database.
CAUTION:
It is highly recommended that this operation not be used in production. Using this operation, all objects in the database are recompiled and the cache is completely rebuilt. Execution of this request takes a considerable amount of time and server resources to complete.

This operation is used to retrieve an object, assemble its pieces, and store the results in the cache. If a specific object already exists in the cache, this operation purges the cached version, recompiles the object, and stores the recompiled object in the cache. There are two reasons you might use that operation: 1) to pre-populate the cache with all of the objects in the database to prevent the overhead of compiling each object the first time it is requested and 2) to purge and rebuild the cache if the underlying store has changed. The compiled objects include documents, packages, and policies for all precedence levels.

Operation | CompileAll
--- | ---
Style | document
Operation Type |
SOAP Action | http://schemas.bankerssystems.com/2004/ExpereAPI/ExpereIEServices/IExpereAPI/CompileAll
Input | CompileAllRequest
Output | CompileAllResponse

Related reference
CompileAllRequest
CompileAllResponse