We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
loading speed of webpage slowed down after https enabled, how to improve?
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
loading speed of webpage slowed down after https enabled, how to improve?
I have a very small budget so I bought a simple VPS with following hardware specs:
CPU: 1 core
Momory: 2GB
bandwidth: 1MB
OS: CentOS 7.0 64-bit
I installed VestaCP as my web admin panel.
After enabled https for my entire website, I noticed that the loading speed of webpages slowed down than before.
You know that loading speed is an important factor that affects SEO and user experience. So I want to improve this. I want to make the pages load faster. But I don't know what should I upgrade first?
Sorry I can not upgrade every facet of my VPS to a higher level. I only want to upgrade the hardware which is the "shortest board", which is a bottleneck.
Should I upgrade CPU? or add more memory? or entend bandwidth? which one will do the biggest affection on loading speed of webpages visited by HTTPS?
Thank you.
CPU: 1 core
Momory: 2GB
bandwidth: 1MB
OS: CentOS 7.0 64-bit
I installed VestaCP as my web admin panel.
After enabled https for my entire website, I noticed that the loading speed of webpages slowed down than before.
You know that loading speed is an important factor that affects SEO and user experience. So I want to improve this. I want to make the pages load faster. But I don't know what should I upgrade first?
Sorry I can not upgrade every facet of my VPS to a higher level. I only want to upgrade the hardware which is the "shortest board", which is a bottleneck.
Should I upgrade CPU? or add more memory? or entend bandwidth? which one will do the biggest affection on loading speed of webpages visited by HTTPS?
Thank you.
Re: loading speed of webpage slowed down after https enabled, how to improve?
https uses more resources because the processing of the data requires additional capacity (roughly speaking, your webserver need to encrypt data). it would be logical to look at the load on the server: CPU, memory.
Try to use spdy or http/2 (if you have nginx 1.95 or newer).
https://en.wikipedia.org/wiki/SPDY
Always good to use nginx cache.
Try to use spdy or http/2 (if you have nginx 1.95 or newer).
https://en.wikipedia.org/wiki/SPDY
Always good to use nginx cache.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: loading speed of webpage slowed down after https enabled, how to improve?
My nginx was installed by VestaCP itself. I just checked the version :
Do you mean that I don't need to upgrade hardwares of my VPS? Since this is a "cloud VPS", the hardware can be easily upgraded without to move data. Just more money to do it.
It seems that I need to upgrade my nginx to v1.95 to use SPDY or http/2.# nginx -v
nginx version: nginx/1.8.0
Do you mean that I don't need to upgrade hardwares of my VPS? Since this is a "cloud VPS", the hardware can be easily upgraded without to move data. Just more money to do it.
Re: loading speed of webpage slowed down after https enabled, how to improve?
VestaCP installed soft, but source of this soft from OS repo.baijianpeng wrote:My nginx was installed by VestaCP itself.
http/2 - yes, needs upgradebaijianpeng wrote:It seems that I need to upgrade my nginx to v1.95 to use SPDY or http/2.
SPDY - no, there's no need
Nginx support spdy since 2012 and from version 1.3.x
Yes, you should first try to optimize your server and than upgrade if needed.baijianpeng wrote:Do you mean that I don't need to upgrade hardwares of my VPS?
Tests need to do. ;-)
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: loading speed of webpage slowed down after https enabled, how to improve?
Great!skurudo wrote: http/2 - yes, needs upgrade
SPDY - no, there's no need
Since my nginx version is 1.8.0, which already have built-in SPDY 3.1 support, I decided to enable it.
Well, it is very easy! I followed this article to enable it:
https://www.scalescale.com/tips/nginx/h ... -on-nginx/
In fact, I don't to need to install them, just a little more configure In snginx.conf:
Now my website has SPDY enabled!Replace:
listen x.x.x.x:443;
to:
listen x.x.x.x:443 ssl spdy;
Do you think my webpage loading speed will be improved?
Thank you.
Re: loading speed of webpage slowed down after https enabled, how to improve?
Try to take some test or read about benchmark:baijianpeng wrote: Do you think my webpage loading speed will be improved?
https://blog.httpwatch.com/2015/01/16/a ... nt-page-1/
(your site to far from me and it's slow for me, but main reason - bad channel between my uplink and your provider)
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: loading speed of webpage slowed down after https enabled, how to improve?
I visited my website from the same computer both before and after SPDY eanbled. It seems that very limited improved.
So I still think maybe I need to upgrade some hardware of my VPS.
However, I don't know which is the bottle neck, the CPU, or memory, or bandwidth?
How to determine what is the bottle neck that limits the webpage speed of my website?
Thank you.
So I still think maybe I need to upgrade some hardware of my VPS.
However, I don't know which is the bottle neck, the CPU, or memory, or bandwidth?
How to determine what is the bottle neck that limits the webpage speed of my website?
Thank you.
Re: loading speed of webpage slowed down after https enabled, how to improve?
What is your website? i'll test it
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: loading speed of webpage slowed down after https enabled, how to improve?
it loads 5+sec to me
https://gtmetrix.com/reports/www.joomlagate.com/
Can you bencmark your vps so we can see your vps speed and etc.
SSH: wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
https://gtmetrix.com/reports/www.joomlagate.com/
Can you bencmark your vps so we can see your vps speed and etc.
SSH: wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash