If a web page does not load within the first two seconds, 55% of mobile users will leave that web page.
Furthermore, around 70% of consumers in online stores report that page display speed is linked to their willingness to purchase a product.
Page speed is also a direct ranking factor.
Loading times affect the search rankings of web pages on search engine results pages (SERPs).
This means that a slow website has a lot to lose in terms of visitors, customers and SERP rankings.
However, solving the problem is not that difficult.
1.Image optimisation.
Large image files are one of the common causes of slow websites.
They take up a lot of space and the larger the size, the more information the website has to load.
One of the first things you can do is crop and resize the image, rather than using the “width” parameter.
This is because when the “width” parameter is used, the website loads the entire image before adjusting it to the correct size.
Compressing images before uploading them to a website can also be effective.
The following image compression tools are recommended.
Plug-ins such as Smush can also be used to compress images together and enable delayed loading.
This is particularly useful for image-intensive websites.
2.Uninstall unwanted plug-ins.
Be sure to remove any unnecessary plug-ins.
While it may be tempting to use plug-ins of all kinds, they add considerable load to a website and slow down the loading speed.
In addition, this increases the backup size and places an unnecessary load on the server during the generation of the backup files.
It goes without saying that the more plug-ins there are, the more difficult it becomes to update and maintain them.
3.Compressing CSS, JS and HTML files.
File compression reduces code and mark-up in script files or web pages.
For example, when writing code, you may add line breaks, comments or whitespace to make it easier to read.
The problem is that browsers do not need these elements to execute code.
In fact, unnecessary code is added to the file, which ultimately slows down the loading speed of the website.
The purpose of compression is to improve performance by eliminating redundant characters in the code.
Variables can also be renamed to further reduce code.
Online tools such as CSSMinifier and WordPress plugins such as Autoptimize can be used to shrink code.
You can compress the code manually, but you will be dealing with a large amount of code, and there is a possibility of making a mistake somewhere along the line.
This method is effective when combined with other page speed optimisation methods, as it is designed to narrow down unnecessary code to the very end.
4.Switching hosting providers.
Hosting providers may reduce website performance.
As a website grows, more resources may be required from the provider’s server and it may not be able to meet the requirements.
Nevertheless, choosing the right hosting provider depends on the type of hosting that suits your needs.
There are three main types of hosting.
Shared Hosting
Shared hosting is the cheapest option and is suitable for new websites.
Resources such as RAM, CPU and disk space are shared with other websites hosted on the same server.
The main drawback is that traffic spikes from other websites can directly affect the performance of their own site.
This is because all sites in the server have access to the same resource pool.
VPS
VPSs work in the same way as shared hosting providers.
However, there is a dedicated part of that resource.Therefore, other websites do not affect its performance.
VPS providers strike a good balance between reliability and price.
Dedicated Hosting
Finally, dedicated hosting is the best option for websites that generate high volumes of traffic.
There is no need to share server resources with anyone else.
Thus, you will always experience the best performance.
5.Using content delivery networks.
A content delivery network (CDN) is a network of servers scattered around the world.
Using a CDN, copies of a website’s files are distributed across all connected servers, significantly increasing loading speeds.
For example, if your website is hosted in the USA and a Japanese user wants to access it, the browser will retrieve information from the server closest to the user, rather than from the main server.
As a result, the user does not have to wait until the information has moved to the other side of the globe, resulting in better site performance.
Furthermore, distributing multiple copies of the site’s files across different locations ensures that the main server is not overloaded with user requests during traffic spikes and guarantees consistent performance.
6.Conclusion.
Website performance should always be at its best.
Otherwise, they risk losing visitors, plus their SERP ranking.
If you are running your own website, please consider using the above methods.
Code Security Web Wordpress
How to prohibit access to wp-config.php.WordPress
Prohibiting access to wp-config.php improves site security. You are encouraged to refer to this information to maintain your website. Put the following code in the “.htaccess” file. <files wp-config.php> order allow,deny deny from all </files>
Continue readingCode Web Without Plugin Wordpress
Without plugins!Copy and paste, 3 minutes, super easy!How to implement dark mode.WordPress
Implement dark mode in WordPress.No plugin is required. 1. 1.JavaScript description.2. 2.Css description.3. 3.HTML description. 1.JavaScript description. Put the following js code in the header. document.addEventListener('DOMContentLoaded', function() { const toggleButtons = document.querySelectorAll('.toggle-mode'); toggleButtons.forEach(function(button) { button.addEventListener('click', function() { const currentMode =...
Continue readingCDN Security Speed Web
Does CDN delivery with Cloudflare reduce AdSense revenue?Various setting methods.
1. The impact of Adsense.2. The cause is that individual IPs are indistinguishable through Cloudflare (they are all the same IP through Cloudflare).3. How to make Nginx recognise individual IPs differentially.4. How to make apache recognise individual IPs separately. The...
Continue readingPlant
Obregonia denegrii.
One genus and one species of cactus, so majestic and dignified is its appearance that it is known as the ‘TEIKAN’. This is a very rare cactus and one of the most popular cacti, partly because of its beautiful rosette...
Continue readingCode Web Without Plugin Wordpress
Without plugins!How to implement SEO features.|WordPress
Learn how to introduce policy features in WordPress without using a plugin. Plug-in non-use has various advantages, such as reducing server load and maintaining site display speed. There are many diverse plugins for WordPress, and for SEO, there are excellent...
Continue readingAnimation
Post-airing popularity ranking of spring 2024 animations.
【10th place】A salad bowl of eccentrics 【9th place】Jellyfish Can’t Swim in the Night 【8th place】The Fable 【7th place】Oblivion Battery 【6th place】Konosuba: God’s Blessing on This Wonderful World!3 【5th place】Shuumatsu Train Doko He Iku? 【4th place】GIRLS BAND CRY 【3rd place】Mushoku Tensei:...
Continue readingCode Speed Web Wordpress
How to score 100 on the Google Speed Test.How to create better web vitals with WordPress themes and plugins. ‘Checklist for developers’.
This post explains how to get a score of 100 on the google speed test. 1. 1.Files2. 2.Fonts and typography3. 3.CSS framework4. 4.Conditional asset loading4.1. Inline styles4.2. Inline scope4.3. Using transients to store conditions4.4. Checking by name for loading5. 5.Image...
Continue readingCode Web Without Plugin Woocommerce Wordpress
Without Plugin!How to display just any item on the Woocommerce My Account page.
The items on the Woocommerce My Account page vary depending on the products handled and the site they are on. For example, if you want to hide the ‘Dashboard’ and ‘Downloads’ items, you can achieve this by doing the following....
Continue readingPlant Raise
The key points are sun, wind, water and soil! How to grow succulents.
Succulents are very easy to grow compared to other plants. There are four simple points. Maintain in a sunny location. Maintain in a well-ventilated area. Water when the soil is dry. Plant in well-drained soil. As long as the above...
Continue readingCode
How to unzip a zip file in the server.
Assume the file you want to unzip is ‘example.zip’. 1. 1:Upload the zip file you want to unzip.2. 2:Creating and uploading unzip.php.3. 2:Access unzip.php.4. 3:Deployment of zip.5. 4:Finish. 1:Upload the zip file you want to unzip. Upload the zip file...
Continue reading