Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts: # src/Umbraco.Tests.Common/Builders/GlobalSettingsBuilder.cs # src/Umbraco.Tests/TEMP/DatabaseContextTests.sdf # src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
This commit is contained in:
@@ -86,6 +86,12 @@ namespace Umbraco.Web
|
||||
Func<object, ViewDataDictionary, string> contextualKeyBuilder = null)
|
||||
{
|
||||
var cacheKey = new StringBuilder(partialViewName);
|
||||
//let's always cache by the current culture to allow variants to have different cache results
|
||||
var cultureName = System.Threading.Thread.CurrentThread.CurrentUICulture.Name;
|
||||
if (!String.IsNullOrEmpty(cultureName))
|
||||
{
|
||||
cacheKey.AppendFormat("{0}-", cultureName);
|
||||
}
|
||||
if (cacheByPage)
|
||||
{
|
||||
if (Current.UmbracoContext == null)
|
||||
|
||||
@@ -67,6 +67,9 @@
|
||||
<Version>2.0.0-alpha.20200128.15</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="HtmlAgilityPack" Version="1.8.14" />
|
||||
<PackageReference Include="HtmlSanitizer">
|
||||
<Version>4.0.217</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="ImageProcessor">
|
||||
<Version>2.7.0.100</Version>
|
||||
</PackageReference>
|
||||
|
||||
Reference in New Issue
Block a user