You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-howto-cache.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Add caching to improve performance in Azure API Management
3
3
description: Learn how to improve the latency, bandwidth consumption, and web service load for API Management service calls.
4
4
author: dlepow
5
5
ms.service: azure-api-management
6
-
ms.topic: conceptual
6
+
ms.topic: how-to
7
7
ms.date: 03/20/2024
8
8
ms.author: danlep
9
9
---
@@ -40,7 +40,7 @@ To complete this tutorial:
40
40
+[Create an Azure API Management instance](get-started-create-service-instance.md)
41
41
+[Import and publish an API](import-and-publish.md)
42
42
43
-
## <aname="caching-policies"> </a>Add the caching policies
43
+
## Add the caching policies
44
44
45
45
With caching policies shown in this example, the first request to a test operation returns a response from the backend service. This response is cached, keyed by the specified headers and query string parameters. Subsequent calls to the operation, with matching parameters, will have the cached response returned, until the cache duration interval has expired.
46
46
@@ -73,7 +73,7 @@ With caching policies shown in this example, the first request to a test operati
73
73
> [!TIP]
74
74
> If you are using an external cache, as described in [Use an external Azure Cache for Redis in Azure API Management](api-management-howto-cache-external.md), you may want to specify the `caching-type` attribute of the caching policies. See [API Management caching policies](api-management-policies.md#caching) for more details.
75
75
76
-
## <aname="test-operation"> </a>Call an operation and test the caching
76
+
## Call an operation and test the caching
77
77
To see the caching in action, call an operation from the portal.
78
78
79
79
1. In the Azure portal, browse to your API Management instance.
@@ -83,7 +83,7 @@ To see the caching in action, call an operation from the portal.
83
83
1. Select the **Test** tab in the top right menu.
84
84
1. Select **Send**.
85
85
86
-
## <aname="next-steps"> </a>Next steps
86
+
## Related content
87
87
* For more information about caching policies, see [Caching policies][Caching policies] in the [API Management policy reference][API Management policy reference].
88
88
* For information on caching items by key using policy expressions, see [Custom caching in Azure API Management](api-management-sample-cache-by-key.md).
89
89
* For more information about using external Azure Cache for Redis, see [Use an external Azure Cache for Redis in Azure API Management](api-management-howto-cache-external.md).
@@ -112,7 +112,4 @@ To see the caching in action, call an operation from the portal.
112
112
113
113
[Create an API Management service instance]: get-started-create-service-instance.md
114
114
115
-
[Configure an operation for caching]: #configure-caching
116
-
[Review the caching policies]: #caching-policies
117
-
[Call an operation and test the caching]: #test-operation
0 commit comments