You're viewing **Apigee Edge** documentation.  
[Go to the
**Apigee X** documentation](http://cloud.google.com/apigee/docs/api-platform/cache/persistence-tools). info

Apigee Edge provides caching for runtime persistence of data across requests. You access the
cache with policies, such as [Populate Cache policy](https://docs.apigee.com/api-platform/reference/policies/populate-cache-policy),
[LookupCache policy](https://docs.apigee.com/api-platform/reference/policies/lookup-cache-policy),
[InvalidateCache policy](https://docs.apigee.com/api-platform/reference/policies/invalidate-cache-policy), and
[Response Cache policy](https://docs.apigee.com/api-platform/reference/policies/response-cache-policy).

Your organization includes access to a shared cache that is useful for most cases. You can
also configure your own cache if you want finer control of performance.

You might want to use a cache to:

- **Reduce latency and traffic.** Requests are satisfied in a shorter time and with reused representations.
- **Persist data across transactions.** You can store session data for reuse across HTTP transactions.
- **Support security.** Scope access to cache entries so they can be accessed only in a particular environment or by a specific API proxy.

## Using persistence

Get background and examples on the persistence features provided by Edge.

### [Persistence tools in Edge.](https://docs.apigee.com/api-platform/cache/persistence-tools)

Find out how policies support general purpose caching, backend response caching, and key-value
maps.

### [Example: General purpose caching](https://docs.apigee.com/api-platform/cache/optimize-performance-using-cache)

View code that shows how [Populate Cache policy](https://docs.apigee.com/api-platform/reference/policies/populate-cache-policy),
[LookupCache policy](https://docs.apigee.com/api-platform/reference/policies/lookup-cache-policy),
and [InvalidateCache policy](https://docs.apigee.com/api-platform/reference/policies/invalidate-cache-policy)
are used together.

### [Working with cache keys](https://docs.apigee.com/api-platform/reference/policies/working-cachekeys)

Understand the options for creating unique identifiers for cache entries.

### [Creating and editing an environment cache](https://docs.apigee.com/api-platform/cache/manage-caches-environment)

Create your own caches when the included shared cache won't meet your needs.

### [Cache internals](https://docs.apigee.com/api-platform/cache/cache-internals)

Find out how the cache system is structured and how cache defaults interact with policies.

### [Working with key value maps](https://docs.apigee.com/api-platform/cache/key-value-maps)

Create and manage collections of encrypted or unencrypted, non-expiring key/value pairs.

### [Support for HTTP response headers](https://docs.apigee.com/api-platform/cache/http-response-caching)

Learn how HTTP response headers are handled when you're using the ResponseCache policy.

## Policy references

Use these policies for persistence.

### [PopulateCache policy](https://docs.apigee.com/api-platform/reference/policies/populate-cache-policy)

Put data into the general purpose cache.

### [LookupCache policy](https://docs.apigee.com/api-platform/reference/policies/lookup-cache-policy)

Get data from the general purpose cache.

### [InvalidateCache policy](https://docs.apigee.com/api-platform/reference/policies/invalidate-cache-policy)

Remove an entry from the general purpose cache.

### [ResponseCache policy](https://docs.apigee.com/api-platform/reference/policies/response-cache-policy)

Get and put data from a backend resource.

### [Key Value Map Operations policy](https://docs.apigee.com/api-platform/reference/policies/key-value-map-operations-policy)

Use a key/value map store for long-term persistence.

## API references

Use these APIs to work with caches.

### [Clear a cache entry](https://docs.apigee.com/management/apis/post/organizations/{org_name}/environments/{env_name}/caches/{cache_name}/entries/{entry})

Clears a cache entry using the cache key.

### [Create a cache in an environment](https://docs.apigee.com/management/apis/post/organizations/{org_name}/environments/{env_name}/caches)

Creates a cache in an environment.

### [Get information about a cache](https://docs.apigee.com/management/apis/get/organizations/{org_name}/environments/{env_name}/caches/{cache_name})

Gets information about a cache.

### [Clear all cache entries](https://docs.apigee.com/management/apis/post/organizations/{org_name}/environments/{env_name}/caches/{cache_name}/entries)

Clears cache entries. Can be scoped by cache key prefix.

### [List caches in an environment](https://docs.apigee.com/management/apis/get/organizations/{org_name}/environments/{env_name}/caches)

Lists the caches in an environment.

### [Update a cache in an environment](https://docs.apigee.com/management/apis/post/organizations/{org_name}/environments/{env_name}/caches/{cache_name})

Updates a cache in an environment.

### [Delete a cache](https://docs.apigee.com/management/apis/delete/organizations/{org_name}/environments/{env_name}/caches/{cache_name})

Deletes a cache.

### [Key/value maps](https://docs.apigee.com/api-reference/content/keyvalue-maps-management-api)

Create and manage collections (maps) of persisted key/value pairs at multiple scopes.