Publishing Tips?

2 posts, 0 answers
  1. Joe
    Joe avatar
    103 posts
    Member since:
    May 2012

    Posted 25 Jan Link to this post

    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?

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3666 posts

    Posted 27 Jan Link to this post

    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.
Back to Top