public bool TryServeRequestFromCache(string path, IFormatInfo outputFormat, out IResult result) { var cacheFile = GetCacheFileInfo(path, outputFormat); if (!cacheFile.Exists) { result = null; return false; } var etag = m_fileInfoETagCalculator.CalculateETag( cacheFile ); result = new TransmitFileResult(cacheFile.LastWriteTime, etag, cacheFile.Length, cacheFile.FullName); return true; }