---
header: Cache APIs
lang: en
last_updated: '2025-02-05'
url: https://docs.fastly.com/products/cache-apis
---

The following APIs enable developers to build apps on Compute using Fastly's global cache network.

## Core Cache API

The [Core Cache API](https://www.fastly.com/documentation/guides/concepts/edge-state/cache/#core-cache) uses languages like [Rust](https://www.fastly.com/documentation/guides/compute/rust/#communicating-with-backend-servers-and-the-fastly-cache), [JavaScript](https://www.fastly.com/documentation/guides/compute/javascript/#communicating-with-backend-servers-and-the-fastly-cache), and [Go](https://www.fastly.com/documentation/guides/compute/go/#communicating-with-backend-servers-and-the-fastly-cache) to expose the API primitives used to implement cache applications.

## HTTP Cache API

The [HTTP Cache API](https://www.fastly.com/documentation/guides/concepts/edge-state/cache/#customizing-cache-interaction-with-the-backend) gives developers the ability to control caching within the context of an HTTP request through actions like `Cache-Control` parameter customization and request and response header modification.

## Simple Cache API

Limited Availability

The [Simple Cache API](https://www.fastly.com/documentation/guides/concepts/edge-state/cache/#simple-cache) exposes a key-value cache interface developers can use to cache small, arbitrary data to help reduce repetitive compute costs.

## Limitations and Considerations

Compute trials and paid accounts include the use of Cache APIs. A monthly average of up to 5 cache operations per Compute request are included. A *cache operation* is a read from cache or an operation where a read is followed by a write. There is no separate cap on the maximum number of cache operations per individual Compute request. Contact [support@fastly.com](mailto:support@fastly.com) if you need to raise the included number of monthly average cache operations.
