Bastify | Hosting, domain registry, vps, mail and SSL

Tips to optimize your website - 2

Bussiness 17 December, 2023


As we mentioned in our article from last week, below our latest advice and conclusions :

7. Implement Gzip Compression

Compression Gzip is an effective way to reduce file sizes. Minimizes HTTP requests and reduces server response time. Gzip compresses files before sending them to the browser. On the user side, a browser decompresses the files and presents the contents. This method can work with all files on your website. You can enable Gzip on your website by adding a few lines of code or using a utility called gzip.

8. Database optimization in CMS

Database optimization is an effective way to increase performance. If you use a content management system (CMS) packaged with complex plugins, your database size increases and your website runs slower. For example, WordPress CMS stores comments, blog posts, and other information that takes up a lot of data storage space. Each CMS requires its own optimization measures and also has a number of specific plugins. For WordPress, for example, you can consider WP-Optimize.

9. Detect 404 errors

A 404 error means that a “Page is not found”. This message is provided by the host to browsers or search engines when the content of a page no longer exists. To detect and fix a 404 error, you can use error detection tools and plugins. As we mentioned, additional plugins can negatively affect the speed of your website, so we recommend running the resource through external tools for error detection. For example, Xenu&;#39;s Link Sleuth, Google Webmaster Tools (GWT) and 404 Redirected Plugin For WordPress. Once you have detected all the 404 errors, you should evaluate the traffic they generate. If these dead links no longer bring any visits and therefore never consume your server resources, you can leave them as is. If these pages still have traffic, consider setting redirects for external links and correcting link addresses for internal ones.

10. Reduce redirects

Web redirects They create additional HTTP requests that negatively impact performance. We advise keeping them to a minimum or eliminating them completely. First, you need to identify all redirects on your page by running a web scan. You can use Screaming Frog to quickly identify redirects. Then you should check to see if they serve a necessary purpose and leave only the critical ones

11. Reduce the use of web fonts.

Web fonts have become very popular in web design. Unfortunately, using web fonts has a negative impact on page rendering speed. Web fonts add additional HTTP requests to external resources. The following measures will help you reduce the size of web font traffic:• Use modern WOFF2 formats for modern browsers• Include only the character sets that are used in your web.• Choose only the necessary styles

12. Use prefetching techniques

The Prefetching involves reading and executing instructions before a user initiates them. The technique is quite common. It works well if you can anticipate user actions and, for example, load some content or links in advance. Modern browsers generally allow prefetching by default as they assume user behavior patterns. However, UX specialists and engineers are more likely to understand user behavior and make “suggestions” for browsers to do the prefetching work.

There are three main types of prefetch:

  • DNS prefetching practice involves resolving domains to IP addresses in advance.

  • Link pre-registration If you are sure that a user will click on a specific link to navigate to some page, you can apply this type of prefetch. The method is useful for user customer journey actions, such as moving to the shopping cart page after adding one or more items.

  • Prerequisite This approach means delivering a full page or some elements of it beforehand.

While prefetching is effective, deep analysis of user behavior is required to make accurate assumptions.

Conclusion

Currently, one user Typically you expect web pages to load in less than 3 seconds. If you don&;#39;t meet this barrier of expectations, you will lose a lot of traffic to your website and, as a result, your income.

Therefore, we recommend applying a simple but effective website speed optimization approach:

1. Check and evaluate the key success factors of your website, considering conversion, visibility and usability.

2. Put a Test the current speed of your website and prioritize the pages and features that need the most attention with respect to these three factors.

3.Start your optimization with the most aspects that slow you down and focus on the pages that most define your conversion success.

Subscribe now to our Newsletter

All your information is completely confidential

We're in touch!

We are delighted to hear from you

Phone

+ 34 900 433 204

E-mail

info@bastify.com

Address

Modesto Lafuente 25

España(Madrid), 2803