Why does the site load much slower when switching from an http domain to https?

Viet Nguyen Duc 20 Reputation points
2023-12-13T22:41:32.1566667+00:00

When I switched from http domain to TLS encrypted https, the site loading speed was slow. When I perform the function of uploading files or checking in documents to Document Library, sometimes an error screen is displayed.

We have not found the cause of the error. Are we missing any TLS settings for https domains?

User's image

User's image

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

Accepted answer
  1. Emily Du-MSFT 51,851 Reputation points Microsoft External Staff
    2023-12-14T09:52:23.4133333+00:00

    Compare with HTTP, HTTPS adds a layer of encryption using SSL/TLS. When you access a website with HTTPS, your browser and the server establish a secure connection. All data transmitted between the two is encrypted, making it nearly impossible for malicious actors to intercept and decipher the information. So, it always be slightly slower.

    There are many possibilities for sites load much slower with HTTPS, such as CPU, software, browser capability.

    As a try, you could increase CPU to make sites load much quicker.

    A similar discussion for you refer to: https://stackoverflow.com/questions/149274/http-vs-https-performance


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Viet Nguyen Duc 20 Reputation points
    2023-12-18T03:34:27.2933333+00:00

    Thank you for the answer. I understand your answer. I ask one more question as follows: why when I use https domain do issues related to machineKey often occur when uploading files? My current document library has more than 10,000 items.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.