kendo.all.min.js not cached with HTTPS

4 posts, 0 answers
  1. Mattia
    Mattia avatar
    23 posts
    Member since:
    Mar 2015

    Posted 21 Sep 2016 Link to this post

    Hello! I'm using KendoUI with ASP.NET MVC (IIS Web Server), I would like that kendo.all.min.js (size 2.8M) could  be cached by browser (Chrome basically). I've noticed that with no secure protocolo (HTTP) this happens if I include in _Layout.cshtml the library like this:

    <script src="@Url.Content("~/Scripts/kendo/kendo.all.min.js")"></script> or  <script src="~/Scripts/kendo/kendo.all.min.js"></script>

    but if I use HTTPS the library will be partially cached (816KB) or not at all as you can see from attached image.

    I've tried also using ASP.NET Bundles with no solution.
    I've noticed that if I link the library from your CDN  like this:

    <script src="//kendo.cdn.telerik.com/2016.3.914/js/kendo.all.min.js"></script>

    it's cached also with HTTPS, but this can't be a solution because I can't assume that our customers have a global internet connection always available (welcome to Italy in 2016 -_-").

    Any suggestions to solve this issue?
    Thank you!

  2. Dimo
    Admin
    Dimo avatar
    8381 posts

    Posted 26 Sep 2016 Link to this post

    Hi Mattia,

    The question is related to web server configuration, not Kendo UI itself. Here is a discussion that popped from a Google search, this is the direction that should be pursued:

    http://security.stackexchange.com/questions/7006/enable-browser-caching-with-https 

    Regards,
    Dimo
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Mattia
    Mattia avatar
    23 posts
    Member since:
    Mar 2015

    Posted 26 Sep 2016 in reply to Dimo Link to this post

    Ok thank you I will look for some IIS configuration options
  4. Mac P
    Mac P avatar
    86 posts
    Member since:
    Mar 2010

    Posted 13 Mar in reply to Mattia Link to this post

    Did you find any solution? I am using kendo ui with angularjs directives. File kendo.all.min.js over https is not cached. It takes around 3 to 4 seconds to download. This is not acceptable.
Back to Top