开发者

Performance hit of https, how much? What about cache?

开发者 https://www.devze.com 2023-02-09 06:04 出处:网络
I\'m building an asp.net web app with lots of ajax. How much of a performance cost is there in running the entire app in https? What开发者_如何学编程 about caching? Are scripts and css cached when ser

I'm building an asp.net web app with lots of ajax. How much of a performance cost is there in running the entire app in https? What开发者_如何学编程 about caching? Are scripts and css cached when served over https? If they're initially served from http, are they available in the https pages?

Thanks


"In my experience, servers that are heavy on dynamic content tend to be impacted less by HTTPS because the time spent encrypting (SSL-overhead) is insignificant compared to content generation time."

"Making lots of short requests over HTTPS will be quite a bit slower than HTTP, but if you transfer a lot of data in a single request, the difference will be insignificant."

So there should be no major performance hit to your server, but the request times will be longer as you need to handshake every request. BUT you should read for more information: HTTP vs HTTPS performance

0

精彩评论

暂无评论...
验证码 换一张
取 消