diff --git a/src/Orchard.Azure/Orchard.Azure.CloudService/ServiceConfiguration.cscfg b/src/Orchard.Azure/Orchard.Azure.CloudService/ServiceConfiguration.cscfg index 5c0a834cc..f871b1ab3 100644 --- a/src/Orchard.Azure/Orchard.Azure.CloudService/ServiceConfiguration.cscfg +++ b/src/Orchard.Azure/Orchard.Azure.CloudService/ServiceConfiguration.cscfg @@ -6,7 +6,7 @@ - + diff --git a/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/Output/AzureOutputCacheStorageProvider.cs b/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/Output/AzureOutputCacheStorageProvider.cs index bb2465d45..27627827b 100644 --- a/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/Output/AzureOutputCacheStorageProvider.cs +++ b/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/Output/AzureOutputCacheStorageProvider.cs @@ -63,7 +63,7 @@ namespace Orchard.Azure.Services.Caching.Output { if (_usingSharedCaching) _cache.Put(key, cacheItem); else - _cache.Put(key, cacheItem, _region); + _cache.Put(key, cacheItem, TimeSpan.FromSeconds(cacheItem.ValidFor), _region); } public void Remove(string key) {