This is a migrated thread and some comments may be shown as answers.

Telerik's CDN is very slow in China

6 Answers 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
K'Library
Top achievements
Rank 1
K'Library asked on 25 Mar 2017, 10:59 AM

There is censored network in Mainland China. Everything from the servers which are not in Mainland China is slow.

So if I want to improve the static files' loading performance, can I put the Telerik's static files(include the themes) on our own CDN, which files should we do?

6 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 28 Mar 2017, 03:53 PM
Hi Keith,

The Kendo UI CDN is hosted on the Amazon CloudFront and indeed network monitoring is slowing down speeds greatly, as discussed in this thread on the AWS developer forums:
China performance

Based on the reply there, using a Chinese-based CDN provider is indeed a recommended option. The files that you are going to need depend on the functionalities that you include in your app. You should start from the actual script and CSS references in your app. Then add the styles/images and styles/fonts folders from your Kendo UI installation folder, as well as the styles/[SkinName] folder, where [SkinName] is the name of the Kendo UI skin your app is using.

Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
K'Library
Top achievements
Rank 1
answered on 29 Mar 2017, 10:19 AM

Hi Tsvetina,

 

I'm going to put all the kendo ui files to a Chinese-based CDN for all my applications use.

For example, I'm using UI for asp.net mvc with version 2017.1.223. I'll put all the files in both "js" and "style" folders in 

"C:\Program Files (x86)\Telerik\<the version of 2017.1.223>" in my computer to the CDN.

Is it enough? And the path is suitable to replace Telerik's CDN?

0
Accepted
Tsvetina
Telerik team
answered on 31 Mar 2017, 07:59 AM
Hi Keith,

Yes, these files are enough to put in a CDN. It's best to keep the same folder structure as that of the Kendo UI installation and Kendo UI CDN, for example:
  • /2017.1.223/styles/kendo.default.min.css
  • /2017.1.223/js/kendo.all.min.js, /2017.1.223/js/cultures/kendo.culture.zh-CN.min.js


Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
K'Library
Top achievements
Rank 1
answered on 06 May 2017, 05:17 AM

Hi,

I put Teleriks' file to a cloud storage that could provide http get to solve the problem above.

The url pattern is like this:

https://cdn-celia-io.oss-cn-shenzhen.aliyuncs.com/kendo/2017.2.504/styles/kendo.common-material.min.css

 

All the functionalities seemed OK. But the grid's widget was not shown again:

http://cdn-celia-io.oss-cn-shenzhen.aliyuncs.com/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20170506131209.png

What's wrong with my storage?

The sample project is in the attachment. Just a new template project created by the VS2017 and Telerik's extension.

0
Accepted
Tsvetina
Telerik team
answered on 09 May 2017, 04:13 PM
Hi Keith,

Have you checked the browser development tools Console for any network errors like the ones that I am getting: screenshot? Make sure that cross-domain access for these files is properly set.
Also, there may be other useful error messages that could tell why the Grid (and other widgets) are not loading even if the files load from the CDN.

Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
K'Library
Top achievements
Rank 1
answered on 11 May 2017, 12:32 PM

Sorry for my careless. I didn't check the security console output.

I changed the cdn provider's setting, and added allow cross origin access http header, then it worked.

Tags
General Discussions
Asked by
K'Library
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
K'Library
Top achievements
Rank 1
Share this question
or