How to speed up your WordPress website without plugins?

by WP Creative on 2020 December | Posted in WordPress, WordPress Developer, Wordpress Plugin

11 Ways to Speed up Your Website Without Plugins

Do you want to speed up your WordPress site? Fast loading pages improve user experience, increase your page views, and help with your WordPress SEO. In this article, we will share the most useful WordPress speed optimization tips to boost WordPress performance and speed up your website.

Best Ways to Speed Up Your WordPress Website Without Plugins

Let’s learn all the ways that can help you improve your site performance and bring more growth

1. Optimize Site Images

First of all, optimize the images available on your website. Do you know that you can reduce the page size massively just by minimizing the size of images available? You don’t have to show high-resolution images on website pages. They aren’t even necessary. You need to optimise them for the web and compress so it loads fast without losing the quality. A good image editing program like PhotoShop can help you remove those extra bytes from each image. If you need help, please feel free to reach out.

Why Website Speed Matters and How to Optimise it >>

2. Reduce Page Size

The best way to reduce the size of your website pages is by removing extra scripts that are slowing it down. Check your website with Google Lighthouse and see what scripts are on your website pages. Move them from pre-load to DOM load or Windows Load. You can do this with Google Tag manager easily. Reduced page scripts and your website will automatically speed up.

3. Defer JS Scripts

Similarly, you can defer JS scripts from loading at page start especially if they are not needed. Let’s say you have to load a form. If the form script is available at the start of the page, it will slow down the page speed. So, just defer JS scripts by adding a defer attribute in HTML code. Example:

<script src="demo_defer.js" defer></script>

The defer attribute works in both header and body and loads after all other elements of the page have loaded properly.

4. Change to Google Default Fonts

Page fonts can play a crucial role in speeding it up. If your website has external fonts available that you load from a library or another website, simply replace them with the fonts provided by Google. All these fonts by Google let you easily load your website without even an extra second of load time.

Make sure you remove all external fonts from your website as they take a lot of time to load on the client’s browser.

5. Use a Fast Theme

We don’t have to tell you how important a role a fast theme plays in loading your website. If you have a fast theme, you won’t have to add third-party cache plugins to reduce page size because it will take care of all that.

Most of the themes you get in the market are heavy and clunky, designed for mass selling. So, it can be hard to achieve the optimum speed you are looking for.

We love to keep things simple and minimal so it’s easy to manage and have high performance.

However, if you already have a premium theme on your website, please reach out to us. We can certainly help you with speed optimisation.

We Can Customize Your Website Theme to Make It Load Super Fast

6. Reduce External Page Scripts to a Minimum

Don’t load scripts from external sources. Instead, create a script file on your own server and load all the scripts from there. For example, if you have third-party scripts available like Hubspot, Hotjar, and many others. They all take different loading times. To synchronize them with your website, simply copy all the external scripts to a local file. This way they will load directly from your own server. Moreover, the number of requests a client makes to fetch data will automatically decrease.

Example:

<script src="http://camerastork.com/widget.js?product=1337"></script>

Change to:

<script src="http://YOURSITE.com/widget.js?product=1337"></script>

7. Limit Post Revisions

WordPress keeps a record of all the revisions that you have made to your post in a log file. When you keep making more revisions, the data in the log file is automatically increased. This data can put an extra burden on your server. You must limit the number of post revisions to 10 so that your server has more space to store and process elements.

Limiting post revisions can also improve your site performance and decrease the amount of cache WordPress plugins have to create.

8. Use a CDN Service

CDNs or Content Delivery Networks are servers in different parts of the world that keep a copy of your website. You have to subscribe to a CDN like Cloudflare to make your data accessible to these servers. The advantage of this action is that your data can be accessed by users who live in areas near to that server. For example, a user living in Toronto will be able to get the site’s cache version from a server in the GTA region. It decreases the site load time and allows for friendlier user experience.

9. Use Latest PHP Version

Yes, a recent stable PHP version is a lot faster than its predecessor. That’s why it is important to update to the most recent PHP release once it has become stable. Not only this reduces the number of requests of your website, but it also increases site load time and page size.

This image by Cloudways shows that PHP 7.3 version can load 20 times more requests than PHP 5.6.

In some cases, your website will be hosted on a hosting solution that has not been updated to the latest version. You can ask them that they should update the hosting stack to the recent release or move you to another server.

10. Use a Tech Stack with Server Level Cache

While we are discussing hosting solutions, you must get a tech stack that can actually provide you the speed that you need. A good hosting stack offers both server level and application-level cache. It has either Nginx or Redis and uses a reverse proxy like Varnish to accelerate server performance.

You can then either install an application-level cache on it like WP Rocket to speed up your site performance even further. A decent server solution to start with is a Vultr High-Performance Server with Litespeed cache. Or to go for a Litespeed cloud if you have the budget and the resources available. Your end goal should be to make everything appear green in the Google speed test.

11. Install HTTPS

Finally, add HTTPS to your site so that it becomes trusted and browsers show the padlock icon next to the URL.

Most hosting solutions sell HTTPS or SSL certificates with their hosting package for a higher price. However, you can literally get it for free from Let’s Encrypt and install it on your website for free. If you don’t know how to, there are many hosting solution providers available that offer it for free with their hosting packages, simply search for them and move your website to their package.

Bottom-line

There are numerous ways to boost your website performance without adding a plugin. You just need to minimize the page size and increase server loading speed. This means reducing the number of scripts and images you have and increasing server cache, bandwidth, and memory capacity.

Interested In Improving Your Site Performance But Don’t Know How to? Get In Touch

© 2018 WP Creative, Naphix Pty Ltd. ABN: 65 610 345 198