简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM