Attributes of Cache Tag Helper

  • enabled - Used to specify if this tag is enabled or not
  • expires-after - Specifies the period of time after which the cached item should expire
  • expires-on - Specifies the time at which the cached entry should expire
  • expires-sliding - The period of time after the last access that the item should expire
  • priority - Specifies the CacheItemPriority value of the cached item
  • vary-by - Used to specify the parameters that determine whether different versions of the same content should be cached

Comments

Leave a Comment

All fields are required. Your email address will not be published.