SaaS CMS has officially launched! Learn more now.

Takes a lot of time for epi cms resources to load on DXC Service


I have noticed that many times the edit interface is just loading and loading in our customers production environement. 

I now looked into it and this are a couple of example of what takes time, and I wonder how it can take that long time to load a couple of js-files?

Anybody else with this problem?

Oct 09, 2019 9:20

Hey Henrik,

I've seen similar things when using DXC's Cloudflare CDN, particularly in China using the Find JS.

Maybe you can try the DXC Paas Portal's new CDN Cache purging feature?

Edited, Oct 09, 2019 10:22

I have done that and it does not help, still takes like forever a lot of times

Oct 17, 2019 12:52

Do you use dbLocalizationProvider for localizations in that solution?

Oct 17, 2019 13:44

Yes I do @sebbe

Oct 17, 2019 14:54

Okey, I think that is why it is happening.

As it turns out, epi's javascript is not 100% javascript. It goes through a controller that add translations to the JS file.

Example the datepicker file you have in the screenshot, /episerver/Shell/11.22.0/ClientResources/EPi/shell/ui/nls/en-us/, it contains en-us. So the controller tries to get the translations from the db provider, but doesn't find it. So it goes to the next language which for me was "en" and then "en-GB" which it of course didn't find anything. So for one js file, it went to the database 3 times for every resource key in the js file.

That will say that we send alot of db calls for every js file for every resource as episerver doesn't cache the js file, but recreates the files every time so when 3-4 editors tries to use the edit mode, it get very slow. Some editors had to wait like 15min to just access edit mode.

I have a support case going against episerver and I think Valdis have some ideas too on how to fix it.

I fixed it in my solution with importing the whole dbLocalizationProvider and modified it to return "null" if the resource key contains "/" so my solution is quicker now

p.s. where I discussed this with @valdis

Oct 17, 2019 15:27
nitin anand - Mar 26, 2020 10:39
Hi Sebbe
We are experiencing same issue after upgrade to episerver cms 11.11.0
Can you elaborate or maybe share code snippet that helped you? does that required any update to dbLoca...provider or episerver cms upgrade?
Thanks n regards

Episerver doesn't consider this as a bug, so they filled it as a feature request to cache the js resources.

Oct 17, 2019 19:58

Thanks Sebbe I did not know that and this started when we  did an upgrade and also added the localizationprovider.

It is good to know and I will also talk to Valdis, or I will use xml-files for the episerver internal stuff.

Oct 18, 2019 7:03

just uninstall that crappy provider 

Oct 18, 2019 7:11

Yes Valdis, I will do that and I will absolutly not drink a couple of beers with the author of it in Miami, just to show how angry I am! ;-)

Oct 18, 2019 7:26
- Oct 18, 2019 12:25

@Henrik, thanks for bringing this issue, we were also facing this and was under investigation


Our client went live on the first week of October, it was behind the Azure front door that sends 503 after 30 seconds and there is no way to extend it so far,

Exact Above problem, In app insights, I could see thousands of dependent calls for a single JS, We have to restart the website twice last week as CMS Editors is completely unresponsive.

Any option other then uninstalling this great addon ;)

Oct 18, 2019 9:37

We've recently launched CMS + Commerce with dbLocalizationProvider on DXC with 5 languages en-AU, en-NZ, zh-Hans, zh-Hant, zh-HK. We've had no reported issues. But I'll be having a close look next week.

Oct 18, 2019 12:41

@darren which version of episerver? I think (without checking much) it may have happened after they upgraded the UI because we didn't have any problems before. Or ofc it is a change @valdis did, who knows? :)

Oct 18, 2019 13:10

who knows ;)

Oct 18, 2019 13:59

if anyone else interested - DM me, will send link to upcoming version. Just need to be sure that fix does not break somethingz in your projects.

Oct 18, 2019 15:55

@sebbe I think you're right! This CMS is 11.19.01 we have not yet updated to the new UI 11.21.x or 11.22.0 yet.

Oct 19, 2019 4:37

v5.7.6 will contain fix (verified) for this performance issue along with new UI colors as well. keep an eye on feed

Edited, Oct 19, 2019 11:37

We experience the same issue in Episerver 11.11.0.

Many dojo files take almost 30s to load in CMS making editor wait for minutes.

Do you suggest upgrading to v5.7.6 DbLocalizationProvider.Episerver solves this issue or just upgrading Episerver cms to 11.2 solves this issue.


Mar 26, 2020 10:31

just to latest v6.x if you can and time allows

Mar 26, 2020 11:58
nitin anand - Apr 08, 2020 11:05
Hi @valdis, our project runs on .NET Framework 4.6.2. Is it possible to update Dblocalization to v6 (read that it Jumped to netcore31 (.NET Core 3.1) version)?
valdis - Apr 08, 2020 13:21
that applies to applications targeting netcore runtime.

for episerver - referer to this post:

however, lower version for epi is net472. this decision was made based on latest sample alloytech site.

Thanks Valdis, I'll try and revert with result

Apr 01, 2020 9:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.