Add OutputCache to DI container
builder.Services.AddOutputCache(configureOptions)
Add OutputCache to middleware
app.UseOutputCache()
Apply caching to endpoints
Use method '.CacheOutput()' for minimal endpoints or Attribute '[CacheOutput]' in controllers
Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|