At the beginning of October, SEO Inc. saw drastic fluctuations in our page speed. To fix this, we implemented several changes that reduced our page load time dramatically. Just an FYI, all of our SEO Services include page speed optimization. As you can see from the chart, the improved results came instantly.
Everyone knows the page speed of a webpage can make or break a user. No one will wait longer than 3 seconds for a page to load. However, we learned a page load time that sometimes went into an appalling 10-second range was unacceptable, so we resolved to fix it.
This is how we did it in 2 easy steps.
#1. We upgraded to PHP 8.
Over 80% of all websites use PHP as their programming language. Of these sites, over 97% are using some version of PHP 5. Although PHP 5 was released more than a decade ago in 2006, it has had many updates that have allowed it to remain in use.
We know you’ve gotten rather attached to your trusty PHP 5. Why change a good thing? After all, PHP 5 is plenty fast. PHP versions 5.5.0 and up have been able to take advantage of ZendOP Cache, a PHP accelerator that improves overall performance. But consider what you have to gain if you upgrade to PHP 8 as we did:
- Faster Code Execution Time
- Lower Memory Consumption
PHP 7 uses Zend Engine 3, the latest version of the open-source scripting engine used for PHP 4 and 5. Zend Engine 3 allows PHP 8 to boast a 200% faster code execution time and a 50% lower memory consumption rate.
Although PHP 8 is still relatively new, we’ve seen its benefits firsthand. Therefore, we highly suggest upgrading to experience them for yourself.
Note: Before upgrading to PHP 8, run your site through a Testing environment. The reason for this is to watch for any errors that may come up. You want your upgrade to go smoothly; if you move forward without fixing the problems, you could be in big trouble later.
#2. We used Varnish to improve speed and performance.
Q: What do Wikipedia, Facebook, and SEO Inc. have in common?
A: They all use Varnish Cache.
Varnish Cache does just what its name implies—it caches a web page the first time a user visits, then serves up the cached version for future requests. As a result, Varnish saves valuable time for users while reducing the necessary server resources on your end. It’s a win-win for all involved, improving the user experience and site performance.
In summary, Varnish helps your site with the following:
- Speeds up a website by 1000%
- Reduces backend server load by up to 89%
- Protects against server failures
- Handles unlimited simultaneous visitors
Although it’s great for websites with lots of dynamic content, Varnish can serve any website that needs high speed and high performance. In addition, sites that need to support a wide range of visitors and requests will benefit from Varnish.
Note: Varnish has a few exceptions to what it can cache, such as cookies.
Get the Benefits of a Fast Page Load Time
Our page load times have been more consistent since upgrading to PHP 8 and setting up Varnish. For example, instead of 8 seconds of loading, the pages we tested have been reduced to under 1 second.
We should all strive for faster page speed. Page speed is one of Google’s ranking factors, which means it matters more to your site’s success than simply improving user experience. Page speed has substantial benefits for your website:
- Higher rankings
- Increased conversion rate
- Higher ROI
- Benefits your PPC Management campaigns and mobile load times
Are you getting the benefits you deserve? If not, you may need to work on your page load time. PHP 7 and Varnish Cache are just two of the latest ways to speed up, and we at SEO Inc. can help you implement them flawlessly.
Let us take a look at your site and see if they’re right for you.