On a customer project, a Commerce solution, there was an issue where loading the editor UI issued thousands of SQL queries to get individual translation resources.
I found that ShellInitialization adds its EmbeddedXmlLocalizationProvider's to ProviderBasedLocalizationService, after the DbLocalizationProvider has added itself. So every time the UI needs an embedded resource, it will first attempt to load it from DbLocalizationProvider.
Would it be possible to add DbLocalizationProvider after EmbeddedXmlLocalizationProvider?
On a customer project, a Commerce solution, there was an issue where loading the editor UI issued thousands of SQL queries to get individual translation resources.
I found that ShellInitialization adds its EmbeddedXmlLocalizationProvider's to ProviderBasedLocalizationService, after the DbLocalizationProvider has added itself. So every time the UI needs an embedded resource, it will first attempt to load it from DbLocalizationProvider.
Would it be possible to add DbLocalizationProvider after EmbeddedXmlLocalizationProvider?