Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonhenricks authored Jul 11, 2024
1 parent 1bf12aa commit 72ba0f6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ Install-Package XperienceCommunity.OutputCache
Output caching is now enabled for your application. The library will automatically handle caching and invalidation based on updates within Xperience by Kentico.
To add output caching to your views, use the `OutputCache` attribute on your controller actions:

```csharp
[OutputCache(PolicyName = "KenticoPolicy")]
public async Task<IActionResult> Index()
{
return View();
}
```
```csharp
[OutputCache(PolicyName = "KenticoPolicy")]
public async Task<IActionResult> Index()
{
return View();
}
```


## Built With
Expand Down

0 comments on commit 72ba0f6

Please sign in to comment.