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

kendo.all.min.js not cached with HTTPS

3 Answers 144 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mattia
Top achievements
Rank 1
Mattia asked on 21 Sep 2016, 03:04 PM

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!

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Sep 2016, 07:37 AM
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.
 
0
Mattia
Top achievements
Rank 1
answered on 26 Sep 2016, 09:35 AM
Ok thank you I will look for some IIS configuration options
0
Mac P
Top achievements
Rank 1
answered on 13 Mar 2017, 07:59 PM
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.
Tags
General Discussions
Asked by
Mattia
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Mattia
Top achievements
Rank 1
Mac P
Top achievements
Rank 1
Share this question
or