Javascript & CSS Resource Optimization

2 posts, 0 answers
  1. Jako
    Jako avatar
    107 posts
    Member since:
    Apr 2012

    Posted 18 Dec 2014 Link to this post

    Hello

    I just wanted to know if all these resources are required for kendo ui with bootstrap. What would be the easiest solution to determine the minimum required resources for your project.

    As can see the Javascript is about 2166kb which is quite big.


    Help much appreciated



    Below is my bundleconfig:
    bundles.Add(new StyleBundle("~/Content/kendo/2014.3.1119/css").Include(
               "~/Content/kendo/2014.3.1119/kendo.common-bootstrap.min.css",
               "~/Content/kendo/2014.3.1119/kendo.bootstrap.min.css",
               //"~/Content/kendo/2014.2.903/kendo.mobile.all.min.css",
               "~/Content/kendo/2014.3.1119/kendo.dataviz.min.css",
               "~/Content/kendo/2014.3.1119/kendo.dataviz.bootstrap.min.css",
               "~/Content/assets/css/bootstrap.css"));
     bundles.Add(new StyleBundle("~/Content/assets/cas").Include(
             "~/Content/assets/js/gritter/css/jquery.gritter.css",
             "~/Content/assets/css/font-awesome.css",
              "~/Content/assets/css/style.css",
              "~/Content/assets/css/style-responsive.css",
             "~/Content/custom.css"
              ));
     bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
               "~/Scripts/kendo/2014.3.1119/jquery.min.js"     
               ));
     bundles.Add(new ScriptBundle("~/bundles/kendo/js").Include(
                "~/Scripts/kendo/2014.3.1119/kendo.all.min.js",
                "~/Scripts/kendo/2014.3.1119/kendo.aspnetmvc.min.js"
         //  , "~/Scripts/kendo.modernizr.custom.js"
    ));   
    bundles.Add(new ScriptBundle("~/bundles/exstra/js").Include(
               "~/Content/assets/js/bootstrap.min.js",
               "~/Content/assets/js/jquery.dcjqaccordion.2.7.js",
               "~/Content/assets/js/gritter/js/jquery.gritter.js",
               "~/Content/assets/js/common-scripts.js"
               ));
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 18 Dec 2014 Link to this post

    Hi Jako,

    To customize your javascript source download, including the aspnetmvc client script, you can take advantage of our Custom Download Builder tool. It is accessible to Kendo UI users with active commercial license for the product.

    Kind regards,
    Sebastian
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top