kendo.all.min.js not cached with HTTPS

3 posts, 0 answers
  1. Mattia
    Mattia avatar
    20 posts
    Member since:
    Mar 2015

    Posted 21 Sep 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
    8330 posts

    Posted 26 Sep 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. Kendo UI is VS 2017 Ready
  4. Mattia
    Mattia avatar
    20 posts
    Member since:
    Mar 2015

    Posted 26 Sep in reply to Dimo Link to this post

    Ok thank you I will look for some IIS configuration options
Back to Top