# Gaar.EntityTags Easy handling of Etags with MVC attribute
- Add EntityTagAttribute to functions in controller to add Etag to the response
- Call EntityTagHelper.UpdateEtagValueInCache() to refresh the Etag value
- Call EntityTagHelper.GetEtagValueInCache() to get current Etag value
- Both functions has default parameter to spesify cache key
C# [EntityTag] public string GetSomeData() { ... logic ... }
Web.Config - if not auto included <system.webServer> </system.webServer>