diff --git a/src/FileCache/FileCache.cs b/src/FileCache/FileCache.cs index 9d3de91..8c95b1d 100644 --- a/src/FileCache/FileCache.cs +++ b/src/FileCache/FileCache.cs @@ -850,7 +850,7 @@ public override object Get(string key, string regionName = null) if (payload.Policy.SlidingExpiration > new TimeSpan()) { payload.Policy.AbsoluteExpiration = DateTime.Now.Add(payload.Policy.SlidingExpiration); - WriteHelper(PayloadWriteMode, cachedItemPath, payload, regionName, true); + WriteHelper(PayloadWriteMode, key, payload, regionName, true); } }