# Compile

## Overview

The Compile operation compiles any named objects found in the database.

This operation is used to retrieve specified objects, 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 frequently used objects in the database to prevent the overhead of compiling each object the first time it is requested and 2) to purge a cached object when the object has changed in the underlying store. The compiled objects may include documents, packages, and policies and each object must be associated with a precedence level.

Operation | Compile
--- | ---
Style | document
Operation Type |
SOAP Action | http://schemas.bankerssystems.com/2004/ExpereAPI/ExpereIEServices/IExpereAPI/Compile
Input | CompileRequest
Output | CompileResponse