From 7b7b4a1f3074b02d480824ebce55587197914e88 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Tue, 17 Jan 2023 10:35:26 -0800 Subject: [PATCH] Fix method name (#28117) --- aspnetcore/performance/caching/output.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/performance/caching/output.md b/aspnetcore/performance/caching/output.md index 17b6f83eb7..87c903d1e1 100644 --- a/aspnetcore/performance/caching/output.md +++ b/aspnetcore/performance/caching/output.md @@ -39,7 +39,7 @@ For apps with controllers, apply the `[OutputCache]` attribute to the action met ## Configure multiple endpoints or pages -Create *policies* when calling `AddOutputCaching` to specify caching configuration that applies to multiple endpoints. A policy can be selected for specific endpoints, while a base policy provides default caching configuration for a collection of endpoints. +Create *policies* when calling `AddOutputCache` to specify caching configuration that applies to multiple endpoints. A policy can be selected for specific endpoints, while a base policy provides default caching configuration for a collection of endpoints. The following highlighted code configures caching for all of the app's endpoints, with expiration time of 10 seconds. If an expiration time isn't specified, it defaults to one minute.