Edit in GitHubLog an issue

Caching

API Mesh for Adobe Developer App Builder, uses dynamic content caching, which provides the following benefits:

  • Reduced load on your sources
  • Reduced latency and network hops
  • Reduced bandwidth consumption
  • Improved mesh performance
  • Improved load times
  • Simplified architecture (native caching only)

If you want to cache API Mesh responses, you have two options:

Regardless of the option you choose, you can configure your cache-control headers to control how long a response is cached.

Enable native caching

API Mesh supports dynamic content caching natively using standard HTTP caching.

To enable caching in API Mesh, add "cache": true to your responseConfig in your mesh configuration file. Caching is disabled by default.

Copied to your clipboard
{
"meshConfig": {
"sources": [
{
"name": "Adobe Commerce",
"handler": {
"graphql": {
"endpoint": "https://venia.magento.com/graphql"
}
}
}
],
"responseConfig": {
"includeHTTPDetails": true,
"cache": true
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.