Fix excessive datatype load times in propertyValueEditors and backoffice mapping (#15731)
* Introduced IDataTypeConfigurationCache * Applied IDataTypeConfigurationCache to Property Editors and display mapping * Invalidate new cache trough DataTypeConfigurationCacheRefresher * Improve IDatatype service to use cached int path when fetching by guid (using idkeymap) --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Ronald Barendse <ronald@barend.se>
This commit is contained in:
@@ -337,6 +337,10 @@ namespace Umbraco.Cms.Core.DependencyInjection
|
||||
Services.AddUnique<IWebhookLogService, WebhookLogService>();
|
||||
Services.AddUnique<IWebhookLogFactory, WebhookLogFactory>();
|
||||
Services.AddUnique<IWebhookRequestService, WebhookRequestService>();
|
||||
|
||||
// Data type configuration cache
|
||||
Services.AddUnique<IDataTypeConfigurationCache, DataTypeConfigurationCache>();
|
||||
Services.AddNotificationHandler<DataTypeCacheRefresherNotification, DataTypeConfigurationCacheRefresher>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user