We have an Episerver DXC application that is working ok in most geolocations but is failing to serve https://dl.episerver.net/13.0.5/epi-util/find.js in China.
Episerver Support are investigating, but have not yet found a solution to fix the issue, which I suspect is related to "the great firewall". So I wanted to share this with everyone and see if there are any other ways to resolve it.
Version Info
- Episerver CMS 11.10.6
- Episerver Commerce 12.15.1
- Episerver Find 13.0.5
Identifying the issue
We used https://www.dotcom-tools.com/website-speed-test.aspx to test website load times from various geolocations and identified that https://dl.episerver.net/13.0.5/epi-util/find.js was failing to load in China.
I'm not aware of many tools around that test China, if you know any others please let me know.
What we have tried so far
Episerver Support recommended we try the following, but unfortunately, it hasn't resolved the issue;
What I'm thinking to try next
I'm wondering if we can serve this JS from our domain, rather than the client request it from dl.episever.net
- This seems plausible (if its still relevant) http://dmytroduk.com/techblog/customizing-how-statistics-tracking-scripts-are-loaded-on-pages-when-using-episerver-find/
- Similar concept here https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2016/5/looking-up-dl-episerver-net/
Can anyone recommend this approach?
----------------------
The steps below add a change to the web.config that reduces the number of calls to dl.episerver.net but the correct version must first be determined.
Add the following line to the configSections area of the web.config:
Add the following line just prior to the <sysytem.web> section, and include the Find version determined in Step 1 (use the first three version places):