15 Golden Tips To Speed Up Your Website

Following the publication of the comprehensive GT Metrics training course, we decided to publish general tips and tricks in the form of an article on loading your web pages. Every search engine wants the user to have a great experience of finding the website they want, and among these search engines should be mentioned Google. A fast website that has a high quality and always has the satisfaction of its users, that is, it has an excellent user translation. Some of the following tips that you read on SEO teaching site are generally tips to improve the speed of your site that I hope will be used.

Google says:

Experiments have shown that increasing the website search delay time from 100 to 400 MB will reduce the number of daily searches from 0.2 to 0.6%. In addition, fewer users will be exposed to the search results. Even over time, the situation will not improve and there will be no change.

We have categorized a number of important and influential factors in increasing the speed of the website and we want to describe it as follows:

 

Impact of server on site speed

Choosing the right host to invest in it is the first step in building an ideal website. Professionally configured hosting can be a great help for your online business, so it is better to choose the right account for your site by getting information about it.
Here are four key pointers in moving your site up and running.

1-Leverage browser caching

You can tell whether the source of a requested website is saved or can be retrieved from the browser cache through the headers that are supposed to expire the files in the user’s browser. When you specify a header for a resource, such as JPEG images, the browser stores those resources in cache. The next time a visitor comes to the page, they will see the page load faster and as the browser has access to those images. I definitely suggest you read the article on resolving Leverage browser caching error.

2-Keep Keep-Alive active

In fact, HTTP Keep-Alive by connecting to TCP allows to reduce latency and helps with subsequent requests. So contact your hosting service provider and tell them to check. Most hosting companies enable the feature because the activation of such a feature is obvious, unless it has financial reasons or certain policies, hosting by reading the article Keep-Alive to help you better understand the rest of the text will do.

3-Enable gzip compression

Gzipping reduces HTTP responsiveness and helps reduce response time. This will be an easy way to reduce page load time. To use this method, just read one of the methods in the gzip activation article.

Yahoo says about this:

Gzip is the most popular and efficient compression method currently available. Therefore, it reduces the response rate by nearly 70%. Nearly 90% of today’s Internet traffic comes from browsers that claim to support Gzip.

4-Use a CDN

A Content Delivery Network (CDN) is a collection of web servers that are distributed across different locations to deliver content more effectively to users. The server selected to deliver content to a particular user is usually based on a measure of network proximity. For example, the server with the lowest network hops or the server with the fastest response time is selected. In the article What is CDN, we mentioned the top and interesting points about CDN, it takes a long time to summarize these points, so I definitely recommend reading it. You can use W3 Total Cache to speed up your WordPress, as it supports various CDN settings.

 

Impact of resources on site speed

In the tips above, we covered server issues, since you do not have full access to your server, content elements are the only things you can manipulate. Items such as:

1-Minimize redirects

Redirecting creates an additional response request cycle in the HTTP protocol and eventually delays the opening of a page from the site. At best, each redirect generates an extra round trip, and at worst, it may generate several additional rounds in the HTTP protocol. As a result, you need to minimize the use of redirects to improve the performance of your website. Redirects slow down your page because going to a page and then redirecting from there is a waste of time. Be sure to read the post on Minimize Redirects.

2-Remove query strings from static resources

The presence of query strings in our site resources causes those resources not to be cached on the user side, and if resources such as CSS or JS are not cached on the user side, errors such as Leverage browser caching will occur and provide many other problems. Using query strings Prevents CSS and JavaScript files from being cached in many browsers as well as CDNs. But this is only one side of the issue, because some people think the existence of a query string is appropriate, to improve this issue and clear it, read the article Remove the query strings from static resources so that you can improve the performance of the website.

3-Specify a character set

Specify a character in HTTP headers to increase browser rendering speed. If you encounter a Specify a character set error while reviewing your site in the GTmetrix tool, read the Specify a character set error fix post.

4-Minify your codes

Optimizing comments will reduce your CDATA sections, white spaces, blank elements, and page size. It also improves site load latency and slows down loading. You can use online tools to compress documents or plug-ins that optimize your site. .

5-Avoid bad requests (Avoid bad requests)

Problematic links end up on page 404/410. This will cause unsolicited requests to go unanswered and you will need to fix the incorrect URLs as it will also increase the load time of the site. Use free broken link checker or WordPress link checker plugin for free. If you need a comprehensive and complete explanation, be sure to read the Avoid bad requests article.

6-Serve resources from a consistent URL

For resources (such as JS or CSS files) used on multiple pages, make sure that each source relies on the same URL. If a resource is opened with several different URLs and has the same content. This may increase the cost of DNS, which is definitely not desirable and is contrary to the opinion of the audience. On the other hand, the volume, load time and number of requests also increase. For example, if you insert a JS file at mysite.example.com and yoursite.example.com and use both js files on the home page, the problems mentioned above will occur, summarizing the same content Avoid at different URLs, reading the article Serve resources from a consistent URL will definitely be useful for you.

7-Reduce DNS lookups

DNS search makes sense when you want to get the IP address of a host. The browser can not do anything until the search is complete. Reducing the names of unique hosts may increase response time. I suggest you read the attractive and complete article on Reduce DNS lookups. Article 8 is also a way to speed up and reduce DNS Lookups load time to complete this article.

8-Put CSS at the top and JS at the bottom (Put CSS at the top and JS at the bottom)

Placing stylesheets in the document at the top of the page is forbidden, so the browser blocks rendering so that no redraw elements are needed. In most cases, users are faced with a blank screen until the page is fully loaded. It also helps you create a standard W3 compliant webpage. This is why it is said to put JavaScript code at the bottom of the page. Read more about this highly influential factor in the article Defer parsing of JavaScript.

 

We have talked many times about photo optimization and SEO on the SEO teaching site, and here we will briefly address these issues.

 

Impact of images and photos on site speed

1-Specify image dimensions

Your browser render images before loading a page. Image resizing helps slow down loading. If the dimensions are not specified after uploading the images, your browser will increase its loading speed. To do this, specify the height and width of the image in <img>. In the Specify image dimensions error fixing article, we have mentioned some interesting points.

2-Optimize images

Images are very important on the site and should be taken into account. If you use an image that does not have the desired color or quality, it will definitely not be noticed by users and website visitors. So whenever you produce content on your site, try to pay close attention to the topic of image selection. Try to save the images you save on your site in JPEG format because this format is very common and optimized. Press CTRL + SHIFT + ALT + S to save an image and optimize it in Photoshop. In this article, we will explain this issue and the types of solutions for different CMS such as WordPress and Joomla.

3-Merge thumbnails

This trick is taken in English. Combine images using CSS sprites, the integration of images with the CSS Sprites method, which allows us to call the thumbnails of the site, each with a separate URL to load, in the form of a larger image on the site, ie if 10 You have a thumbnail, merge them and make them a larger image, this not only reduces the overall size of the site, it also reduces the number of requests. In the CSS sprites training article, we paid more attention to this issue, and an interesting example from the Digikala site is given in this article, and be sure to read the article.

 

There are other ways to speed up the web page that we covered in a more specialized and complete way in the GTmetrix training course, as well as in the video training course to increase the site speed in a unique way for 8 hours only in practice, but in In this article, we have tried to mention the most important things that even simple bloggers should pay attention to. Of course, the speed of the site is not the main goal, but if a site has a long loading time, it will definitely be difficult to achieve success. There are several websites that have a fast loading speed and were able to succeed.

Note: Before making changes, be sure to make a backup, you can share your questions and comments in the comments.

Keywords: WordPress Speed ​​Up Tips, Speed ​​Tips, Speed ​​Improvement Tricks, Golden Tips to Speed ​​Up Your Site, Best Tips to Speed ​​Up Your Site, High Speed ​​Tips, Site Speed ​​Optimization Tricks

Leave a Comment