Telerik's CDN is very slow in China

7 posts, 2 answers
  1. K'Library
    K'Library avatar
    11 posts
    Member since:
    Aug 2015

    Posted 25 Mar Link to this post

    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?

  2. Tsvetina
    Admin
    Tsvetina avatar
    2101 posts

    Posted 28 Mar Link to this post

    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.
  3. K'Library
    K'Library avatar
    11 posts
    Member since:
    Aug 2015

    Posted 29 Mar Link to this post

    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?

  4. Answer
    Tsvetina
    Admin
    Tsvetina avatar
    2101 posts

    Posted 31 Mar Link to this post

    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.
  5. K'Library
    K'Library avatar
    11 posts
    Member since:
    Aug 2015

    Posted 06 May in reply to Tsvetina Link to this post

    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.

  6. Answer
    Tsvetina
    Admin
    Tsvetina avatar
    2101 posts

    Posted 09 May Link to this post

    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.
  7. K'Library
    K'Library avatar
    11 posts
    Member since:
    Aug 2015

    Posted 11 May in reply to Tsvetina Link to this post

    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.

Back to Top