Update cache-tag-helper.md (#9311)

Fixes #6971

<!--
When creating a new PR, please do the following:

* Reference the issue number if there is one, e.g.:

Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description allows GitHub to automatically close the issue when this PR is merged.

NOTE: This is a comment; please type your descriptions above or below it.
-->
pull/9329/head
SONG WONSEOK 2018-10-31 03:21:12 +09:00 committed by Scott Addie
parent 1021d7a298
commit ca1e5fba4e
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ The following example monitors the values of `Make` and `Model`. The example cac
| -------------- | -------------------- |
| String | `Make`, `Make,Model` |
`vary-by-route` accepts a comma-delimited list of header values that trigger a cache refresh when the route data parameter value changes.
`vary-by-route` accepts a comma-delimited list of route parameter names that trigger a cache refresh when the route data parameter value changes.
Example:
@ -155,7 +155,7 @@ routes.MapRoute(
| -------------- | -------------------------------------------------------------------------------- |
| String | `.AspNetCore.Identity.Application`, `.AspNetCore.Identity.Application,HairColor` |
`vary-by-cookie` accepts a comma-delimited list of header values that trigger a cache refresh when the header values change.
`vary-by-cookie` accepts a comma-delimited list of cookie names that trigger a cache refresh when the cookie values change.
The following example monitors the cookie associated with ASP.NET Core Identity. When a user is authenticated, a change in the Identity cookie triggers a cache refresh: