Découvrez comment ignorer les données du cache en fonction des conditions d'exécution afin de pouvoir mettre en cache de manière sélective les données de réponse d'API en fonction des exigences.
Découvrez comment mettre en cache les réponses d'API de manière dynamique en fonction de variables de requête d'API dans la stratégie de cache de réponse et les clés de cache.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/10 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/10 (UTC)."],[[["\u003cp\u003eThis page covers both Apigee and Apigee hybrid platforms.\u003c/p\u003e\n"],["\u003cp\u003eThe content focuses on the ResponseCache policy within Apigee.\u003c/p\u003e\n"],["\u003cp\u003eVideos provided explain how to improve API performance using API caching within Apigee.\u003c/p\u003e\n"],["\u003cp\u003eYou can learn to skip or expire cache data based on runtime conditions and cache settings, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe videos will explain how to cache API responses dynamically based on API request variables using the Response Cache Policy and Cache Keys.\u003c/p\u003e\n"]]],[],null,["*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nWatch the following videos to learn more about the\n[ResponseCache](/apigee/docs/api-platform/reference/policies/response-cache-policy) policy.\n| **Note:** The following videos were recorded with a previous version of the Apigee UI; however, the concepts are still valid.\n\n| Video | Description |\n|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [Improve API performance using API caching in Apigee](https://www.youtube.com/watch?v=hkBRz8jF4fk) | Understand the advantages of using API caching on Apigee. |\n| [Skip cache data using Apigee](https://www.youtube.com/watch?v=eY32mk4zshA) | Learn how to skip cache data based on runtime conditions so that you can selectively cache API response data based on requirements. |\n| [Expire cache data using Response Cache policy](https://www.youtube.com/watch?v=5m7_RVCI6vc) | Learn how to expire the cache using cache expiration settings in the policy. |\n| [Dynamic API caching using Cache Keys](https://www.youtube.com/watch?v=TCY0otgN3pk) | Learn how to cache API responses dynamically based on API Request variables in Response Cache Policy and Cache Keys. |"]]