bluesteam
Verified User
- Joined
- Jan 28, 2021
- Messages
- 66
Hello,
Firstly, some technicals out of the way:
VPS Hardware Specs:
Cores: 4
RAM: 8GB
Storage: 250GB
Software Specs:
DirecAdmin Version: 1.61.5
CustomBuild Version: 2.0.0 (rev: 2720)
CloudLinux:
PHP Version: 7.2 (Client can't upgrade at this time) (Memcache & OPCache both enabled)
Apache Version: 2.4.48
MySQL Version: 5.7.33
This is just a request for some guidance and advice.
I am trying to reduce the Initial Server Response time down to as low as possible so that once we have that down, my clients cannot complain about the hardware/OS/DB/PHP/WebServer being the problem anymore.
I have a situation where a client has asked that I investigate the TTFB of the VPS server that I have provided him. Looking at Google Page Insights scan, it says that the initial response time of the server can be improved. Google says the initial response is 1970ms I have investigated everything I could to see how to bring this value down but cannot think of what else I can do.
https://developers.google.com/speed/pagespeed/insights/?url=https://www.performanceproducts.co.za
To eliminate any unnecessary load on the server response such as themes or database queries etc, I created a simple php file with only Hellow World! in it to test the simple response time to see what I would get.
Code in simple file:
Google Page Insights states that this simple file took 670ms to load. Repeated tests vary and show sometimes a full 1s to load. Other times it is below 400ms but never lowe. This is not impressive from my point of view and I am not sure what to do here to fix this.
https://developers.google.com/speed/pagespeed/insights/?url=https://performanceproducts.co.za/ttfbtest.php
VERY interestingly, testing another domain (coolboostsystems.com) on the same account shows a MUCH slower response time on the same file and yet both domains are running PHP 7.2 and all the same extensions etc. and on the same account.
https://developers.google.com/speed/pagespeed/insights/?url=https://www.coolboostsystems.com/ttfbtest.php
1. What illusions am I under here that is skewing my thinking?
2. What can be done if anything to improve this WITHOUT moving to a different provider?
3. Why are the two domains so vastly different in response times when the same file is executed from the same DA account.
Can anything be done here?
Looking forward to your replies
Firstly, some technicals out of the way:
VPS Hardware Specs:
Cores: 4
RAM: 8GB
Storage: 250GB
Software Specs:
DirecAdmin Version: 1.61.5
CustomBuild Version: 2.0.0 (rev: 2720)
CloudLinux:
PHP Version: 7.2 (Client can't upgrade at this time) (Memcache & OPCache both enabled)
Apache Version: 2.4.48
MySQL Version: 5.7.33
This is just a request for some guidance and advice.
I am trying to reduce the Initial Server Response time down to as low as possible so that once we have that down, my clients cannot complain about the hardware/OS/DB/PHP/WebServer being the problem anymore.
I have a situation where a client has asked that I investigate the TTFB of the VPS server that I have provided him. Looking at Google Page Insights scan, it says that the initial response time of the server can be improved. Google says the initial response is 1970ms I have investigated everything I could to see how to bring this value down but cannot think of what else I can do.
https://developers.google.com/speed/pagespeed/insights/?url=https://www.performanceproducts.co.za
To eliminate any unnecessary load on the server response such as themes or database queries etc, I created a simple php file with only Hellow World! in it to test the simple response time to see what I would get.
Code in simple file:
PHP:
<?php echo "Hello World!" ?>
Google Page Insights states that this simple file took 670ms to load. Repeated tests vary and show sometimes a full 1s to load. Other times it is below 400ms but never lowe. This is not impressive from my point of view and I am not sure what to do here to fix this.
https://developers.google.com/speed/pagespeed/insights/?url=https://performanceproducts.co.za/ttfbtest.php
VERY interestingly, testing another domain (coolboostsystems.com) on the same account shows a MUCH slower response time on the same file and yet both domains are running PHP 7.2 and all the same extensions etc. and on the same account.
https://developers.google.com/speed/pagespeed/insights/?url=https://www.coolboostsystems.com/ttfbtest.php
1. What illusions am I under here that is skewing my thinking?
2. What can be done if anything to improve this WITHOUT moving to a different provider?
3. Why are the two domains so vastly different in response times when the same file is executed from the same DA account.
Can anything be done here?
Looking forward to your replies
Last edited: