Cache APIs
Last updated 2026-03-31
The following APIs enable developers to build apps on Compute using Fastly's global cache network.
Core Cache API
The Core Cache API uses languages like Rust, JavaScript, and Go to expose the API primitives used to implement cache applications.
HTTP Cache API
The HTTP Cache API 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 AvailabilityThe Simple Cache API exposes a key-value cache interface developers can use to cache small, arbitrary data to help reduce repetitive compute costs.
Limitations and Considerations
A monthly average of up to 5 cache operations per Compute request are included in all accounts. 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 if you need to raise the included number of monthly average cache operations.
Some Fastly products can be purchased directly in the web interface on the Products page by an account Superuser or User Admin. Be sure to review all limitations, considerations, and pricing information before purchase. Alternatively, contact your customer success manager or email sales@fastly.com for product purchase or pricing information.