protected virtual void ApplyCacheHeaders(HttpResponseMessage response, CacheTime cacheTime)
        {
            if (cacheTime.ClientTimeSpan > TimeSpan.Zero || MustRevalidate || Private)
            {
                var cachecontrol = new CacheControlHeaderValue
                {
                    MaxAge         = cacheTime.ClientTimeSpan,
                    MustRevalidate = MustRevalidate,
                    Private        = Private
                };

                response.Headers.CacheControl = cachecontrol;
            }
            else if (NoCache)
            {
                response.Headers.CacheControl = new CacheControlHeaderValue {
                    NoCache = true
                };
                response.Headers.Add("Pragma", "no-cache");
            }
        }
 protected virtual string CreateEtag(HttpActionExecutedContext actionExecutedContext, string cachekey, CacheTime cacheTime)
 {
     return(Guid.NewGuid().ToString());
 }