Implement basic fallback plumbing (in progress)

This commit is contained in:
Stephan
2018-05-02 13:38:45 +02:00
parent 211267d500
commit d56af5872d
26 changed files with 270 additions and 154 deletions

View File

@@ -91,10 +91,6 @@ namespace Umbraco.Web.PublishedCache.NuCache
public override bool HasValue(string culture = null, string segment = null) => _sourceValue != null
&& (!(_sourceValue is string) || string.IsNullOrWhiteSpace((string) _sourceValue) == false);
// used to cache the recursive *property* for this property
internal string RecurseCacheKey => _recurseCacheKey
?? (_recurseCacheKey = CacheKeys.PropertyRecurse(_contentUid, Alias, _isPreviewing));
// used to cache the CacheValues of this property
internal string ValuesCacheKey => _valuesCacheKey
?? (_valuesCacheKey = CacheKeys.PropertyCacheValues(_contentUid, Alias, _isPreviewing));