Declined
Last Updated: 20 Sep 2021 15:19 by ADMIN
sitefinitysteve
Created on: 17 Jun 2016 19:44
Category: Kendo UI for jQuery
Type: Feature Request
0
Web+Dataviz CDN Bundles
Sitefinity uses KendoAll everywhere, here's an example of how it's used CMS-wide
https://github.com/Sitefinity/feather/blob/a9a417115096af67629603cf0eaf52e8a6810d06/Telerik.Sitefinity.Frontend/Mvc/Views/Designer/Designer.cshtml#L53

The basic idea is that when the page is built at runtime all the references to the script get combined and it's only served once.  So the stock widgets just all reference KendoAll and if there's 100 widgets on a page that the user creates, KendoAll only comes down once...

So in the SF backend we can set what "ScriptRef.KendoAll" means... like which script it points to, or even to use the CDN version.

Typically what I do to cut the size is to change the KendoAll script to KendoWeb CDN because nothing in Sitefinity uses KendoMobile so why constantly deliver the massive bundle.

However there's been a bunch of times where KendoDataViz has been required on the sites, and now I'm stuck... because you can't just add KendoWeb and KendoDataviz seperatly on a page due to the overlap of functionality.

Option 1: Change the entire site back to KendoAll
Option 2: Generate a custom build and use that

Problem with option 1 is I'm back to delivering a couple meg file to users

Problem with option 2 is I can no longer use a CDN, and every release I'm having to keep re-generating a new bundle file.

It would be very very very nice if a pre-generated DataViz+Web (and seperate DataViz+Mobile) build was available on the CDN to use.
1 comment
ADMIN
T. Tsonev
Posted on: 20 Sep 2021 15:19

Hello,

Apologies for not spotting this earlier. We recommend sticking to custom builds, either through the download builder or via gulp tasks.

The rationale for not shipping combinations is that this inflates the download size. There's no good criteria to tell which combinations are "popular" or whether it's safe to remove a particular combination.

Regards,
T. Tsonev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.