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

Publishing Tips?

1 Answer 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 25 Jan 2017, 10:21 PM

Initially I was using the CDN for including all the Kendo JS and CSS files...  However, we decided within the company we wanted to use the local files instead.  However, when we publish our web application, it takes a very, very, very long time because of all the nested JS and CSS folders and files.  What can I safely remove from my Scripts and Content webfolders to make the webapp publishing process faster? 

I'm fairly certain we're not using themes, so I should be able to safely remove  ~\Content\kendo\2016.3.118\Black - ~\Content\kendo\2016.3.118\Uniform and all themese in between? Do I need to keep the Images or textures folder?  What about ~\Scripts\kendo\2016.3.1118\cultures? Or ~\Scripts\kendo\2016.3.1118\messages?

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 Jan 2017, 04:20 PM

Hello Joe,

The following article explains how the theme folders are structured: http://docs.telerik.com/kendo-ui/styles-and-layout/appearance-styling.

You are, most likely, using at least one theme (e.g., the Default). Once you check how this is implemented in your app, you can remove the folders for the other themes.

The images and textures folder are used by mobile widgets and for fallback, so you may remove them, but some fallbacks may not occur gracefully. This decision will depend on your target audience browsers. Generally, I would say that you should remove only the themes you do not use, but keep the images and textures folders.

As for the scripts—this will, again, depend on what you use in your project. For example, if you reference kendo.all.min.js everywhere, you can remove just about all the scripts (you may want to leave cultures and messages or parts of them if you use the localization features). The following article lists the scripts and how they are used so you can see what you use and what you need: http://docs.telerik.com/kendo-ui/intro/installation/what-you-need.

Regards,

Marin Bratanov
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.
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or