WordPress Speed OptimizationIt is the whole of the work done to increase the speed of a website with WordPress infrastructure. The quicker your website opens, the higher your success will be in your field. Users do not prefer sites with long loading times. On slow websites, they may exit the site without waiting for the site to load. In this case WordPress Speed Optimization The importance of his work comes to the fore.

What is Core Web Vitals

Core Web Vitals are performance metrics that measure important aspects of the user experience on the internet. Core Web Vitals breaks down developers' site performance experiences into three outcomes—"good," "needs improvement," or "poor"—and includes metrics that help them understand these qualitatively. The most prominent of these metrics are LCP, FCP and CLS metrics. But not all metrics are limited to this. There are also different metrics such as TTFB, INP, TBT.

Benefits of WordPress Speed ​​Optimization

The speed of your website contributes significantly to SEO and user experience. Google announced that Core Web Vitals values ​​will be an important SEO criterion starting from the May 2021 update.

Nowadays, when you do a short internet research, WordPress Speed Optimization You can see many articles for his work. The information in some articles on the Internet is inaccurate or incomplete. We present accurate and comprehensive information for you in this article.

Algorithms of WordPress Speed Optimization Plugins

Nitropack, WP Rocket, PageSpeed Ninja, Litespeed Cache and all except exceptions WordPress Speed Optimization and Webp Express etc. WordPress Image Optimization plugins do not optimize your original files or original images. It creates copies of the original files/images and optimizes them and presents them instead of the original. WordPress Optimization This is the best approach in the process.

WordPress Speed Optimization Methods

WordPress Speed Optimization There are three stable methods that can be applied in the process:

  1. Code a successful optimization plugin from scratch. It requires a team of 2-4 people, 6-12 months and high costs until a stable version is reached.
  2. WordPress Optimization integrating systems. Güzel Hosting for 100 TL WordPress Premium Cache under the name WordPress Optimization offers the system. However, these systems are for static sites. In dynamic sites created with PHP, it prevents the functions on the site from working.
  3. available WordPress Optimization Using plugins. This is the lowest cost solution that can provide high efficiency in a short time. If a pirated plugin is not used and the optimization plugin settings are configured correctly, it does not cause any problems on the site. Even the actual speed of sites containing slow-running Javascript resources such as Adsense and Slider can be increased; Google PageSpeed ​​Core Web Vitals metrics can be improved.

Differences between Manual Optimization and Plugin Optimization in WordPress

In WordPress, static files can be manually compressed, merged, and delayed by writing custom codes. Likewise, this can be done with Wordpress Optimization plugins. So what are the differences? Let's examine this:

  • Active in optimization with plugins WordPress Speed Optimization The plugin automatically optimizes your newly added pages, posts and images - if they contain the relevant feature. No manual intervention is required.
  • In image optimization, it is very common and highly recommended to choose to use the webp format when optimizing images. However, older versions of the iOS browser Safari and very old versions of current browsers do not support the webp format. If you perform the optimization manually and add the image to the media library as webp, your images will not appear when your site is accessed in a browser or its relevant version that does not support webp. This creates a significant disadvantage in terms of user experience and SEO. But Webp Express etc. If you optimize your images with a plugin that renders webp as browser responsive, as webp in browsers that support webp, and as optimized jpg in browsers that do not, you will not experience a disadvantage in terms of user experience and SEO.
  • If you perform the action manually, the change you make will be permanent; if you make the action with plug-ins, the change you make will be invalid when you deactivate the plug-in. In this case, when a problem is encountered in manual optimization, it is much more difficult to solve.
  • Leading plugins such as Nitropack, WP Rocket, Flyingpress try to optimize the site with advanced algorithms. Therefore, you are less likely to experience problems. However, if you edit the codes manually, the site may crash if you make a small careless mistake.
  • Performing manual optimization requires PHP, JS and CSS expertise. Therefore, fewer people can do this successfully.

WordPress Speed Optimization Suggestions

Before applying the steps recommended below to your website, Google PageSpeed Insights, GTmetrix We recommend that you check the current performance of your website by using and similar platforms. On these platforms, you can learn many factors such as the exact loading time of the web page, file size, number of requests. Within the scope of the data obtained WordPress Speed Optimization You can better understand the extent of the precautions you need to take.

Platforms where you can measure your website speed:

Google PageSpeed Insights ->https://pagespeed.web.dev (we especially recommend this platform)

GTmetrix -> https://gtmetrix.com

Determine the Most Suitable Hosting Plan

WordPress Site AccelerationThe first step to take is to determine the most suitable hosting plan. However, the hosting company is not at the root of every problem you encounter on your site. Insufficient hosting plan you have chosen or technical problems with the software WordPress Speed Optimization It may cause slowness on your website during the process. No matter how good the company you purchase the hosting from is, if there are software problems on the website, your site speed will be slow. To solve this, you need to optimize your software's codes.

Insufficient CPU, RAM or I/O limits of the server may cause your site and admin panel to slow down, or even not open at all, or return errors. You need to know what you need for your website to run smoothly and act accordingly. You must use the required hosting plan, taking into account the current and total number of users of your site and the minimum resources required by the software on your site. If you want to learn about the minimum resources required by WordPress themes and plugins, you can read the Resources Required for Effective Use of WordPress section in our article.

Don't Ignore the TTFB Problem

TTFB, which stands for Time to First Byte in English, should be kept as short as possible. We can say that the answer to the question of what is TTFB is the metric that determines the time until the server receives the first data byte when a request is sent from the client to the server. When you type a web address into the URL bar of your browser or try to access a website from search engine results, some operations occur on the server and browser. Among these transactions, one of the factors that has the biggest impact on performance is TTFB.

How Much Should TTFB Be?

TTFB value must be below 500 milliseconds. However, the best TTFB value is the one below 300 ms and, if possible, 100 ms. a successful WordPress Speed Optimization When it works, it may fall below 300 ms, or even below 100 ms on some sites.

What are the reasons why TTFB is long?

One of the most common complaints of website creators or website owners is that the server responds too late. To find out what is causing this length of time, deactivate all WordPress plugins. Reactivate each plugin one by one and test TTFB each time you activate it. If TTFB increases significantly when you activate a plugin, there is a problem with that plugin. Also, the problem may be related to the theme. For this, you can temporarily switch to a different theme and try testing TTFB again. To learn other WordPress Debugging steps and what you can do when you encounter a problem in WordPress WordPress Debugging You can visit our article called:

If the server's first response time is too long, it may be due to faulty or missing configuration in the server or hosting used. To solve this problem, the server configuration must be done successfully and efficiency tests must be performed.

However, contrary to popular belief, TTFB is mostly not caused by the hosting/server or provider company. The problem in question is usually caused by a software error or lack of optimization. If there is excessive CPU, RAM or I/O consumption on the site, or if the resource limits in the hosting are insufficient, the server will respond very late. In this case the software must be optimized. WordPress Optimization If hosting resources are still insufficient, the resources should be increased. To learn about the minimum resources required for WordPress, you can read the Resources Required for Effective Use of WordPress section of our article.

Remove Unnecessary WordPress Functions

You should remove unnecessary functions such as versions in static resources on the website (example: ?ver=2), api.w.org relation link, manifest, shortlink - if you are not using it - xmlrpc. But this WordPress Speed Optimization Remember that its contribution to the work may be low. If the optimization plugin you are using does not have an option to remove unnecessary functions, we can recommend using the plugin called Disable Bloat:https://wordpress.org/plugins/disable-dashboard-for-woocommerce/

Optimize SQL Queries

If queries are constantly being generated in your database or the queries are running very slowly, they should be optimized. You can find out which queries take how long to run by examining the MySQL Slow Query Logs on the server. MySQL Slow Query Logs are not allowed on most shared hosting. Therefore, if you want to review them, you may need to use a VPS, VDS or Dedicated server. Alternatively in WordPressQuery MonitorYou can observe the performance of SQL queries with the r plugin.

Optimize Images

Optimization of the images you upload to the website WordPress Speed Optimization It is one of the activities that should be carried out within the scope of Adding visuals to the content you publish on your site is important to increase its readability and visibility. However, if the images in the content are not optimized, they can slow down the site significantly.

Image Optimization with Webp Express

We can say that the most successful solution that can be used to optimize the images uploaded to the site is the Webp Express plugin. With this plugin, new images you add to your site and old images you add to your site will be automatically optimized. If the plugin cannot automatically optimize old images, you can use the Bulk Convert feature of the plugin as a last resort (fallback method).

Webp Express Requirements

For image optimization, the PHP GD extension is active by default on most shared hosting. In order for this plugin to work successfully and not to cause problems such as images not being displayed on your site, the PHP GD extension used in the image optimization method we recommend must be active in your hosting/server infrastructure and the GD extension must be compiled with webp support. Otherwise, the plugin changes the image urls to webp, but since the required condition is not met, the webp conversion fails and the images return 404. If your server or hosting does not meet the necessary conditions, you can perform CDN-based webp conversion instead of server-based local webp conversion.

Serving Webp Only in Supported Browsers

If the Webp Express plugin's webp serving feature with htaccess is turned off and the Alter HTML feature is turned on, ekelnti will present webp as browser responsive. So what is browser responsive webp serving? Older versions of Safari, the iOS web browser, do not support images with the webp extension. However, very old versions of common browsers such as Chrome, Edge, Firefox, Opera do not support webply. Therefore, webp does not appear in these browsers. However, if the relevant feature of the Webp Express plug-in is activated, it offers the optimized jpg version of the image if the browser does not support the webp extension, and the webp version if it supports the webp extension.

Webp Express Settings

  • Download and activate the plugin from the WordPress install plugin section.
  • Uncheck the enable direct redirection to existing converted images and enable redirection to converter features in the .htaccess rules for webp generation section.
  • Activate the feature by checking the Alter HTML option in the Alter HTML section.
  • Save the settings by clicking the Save Settings And Force New .Htaccess Rules button.

Using Webp Express with CDN

If you are using a CDN, select CDN Friendly Mode from the top option to avoid possible problems. If the visual optimization feature is active in the CDN service you use, you may need to disable the visual optimization feature in the CDN service or not use Webp Express to prevent possible problems.

Delay Javascript Resources That Slow Down Your Site

WordPress Speed Optimization Another thing you need to do is to delay the Javascript resources that slow down your site. The Javascript sources that slow down your site the most are Slider/Carousels, Adsense, etc. They are Javascript files and inline codes of their ads. Adsense is the most preferred advertising platform today. You can earn passive income using this platform. However, if the Javascript codes you add to place Adsense on your site and the Javascript files pulled from the remote server are not optimized, they will slow down the site significantly and cause negativity in areas such as SEO and UX (user experience). The same applies to WordPress Slider plugins.  If you have a site that includes Adsense or Slider/Carousel and you are having difficulty optimizing it, you can get professional support from us to increase your website's Google PageSpeed ​​mobile score above 80-90, improve Google PageSpeed ​​Core Web Vitals values ​​and increase the actual speed of your site.

Our communication channels to reach us ->

Whatsapp Support Line:0 850 241 90 38

Email: info@onurozden.com.tr

Use Page Editor's Module Instead of Slider Plugins

Even though the Javascript code structure of plugins such as Revolution Slider, Smart Slider, and Layer Slider is optimized due to the libraries they use, they run slowly and cause significant slowness on the site. The reason why these plugins work slowly is that they contain many Javascript modules that provide a lot of customizability and features. Instead of these plugins that slow down the site, it is important to use a lightweight slider plugin such as Meta Slider or the Slider/Carousel module of the page editor to speed up the site. You can access the Meta Slider plugin here:https://wordpress.org/plugins/ml-slider/

Use Gzip Compression

Gzip compressionIt can reduce a website's original size by up to 70%.WordPress Site Acceleration Plugins automatically enable Gzip compression. Since the optimization plugin you use will automatically activate Gzip compression, you do not need to make additional intervention.

Delay Unused Static Files and Codes in the Upper Area of ​​the Screen (Below the Fold)

Recaptcha, Google adsense, Tawk.to etc. Scripts used in many external new generation systems impose a significant load on the sites. CSS/Javascript libraries used in modern sites also slow down the page significantly. To overcome these, let's first recognize the term above the fold, which is the part we call the upper area of ​​the screen. Above the fold is the area you see when you open the page on the device without any scrolling. To come to a solution; Delaying non-functional CSS/JS files and codes on the first screen (above the fold) when the page is opened on the site until the first user action. In this way, we only load the codes of the parts and functions that the user needs to see in the first area. When the user takes any action (moving the mouse, scrolling, pressing a keyboard key), the resources on the rest of the page are loaded at an imperceptible speed in most cases. In this way, we significantly increase the page opening speed by loading less resources on the browser when opening the page. However, there are a few important points in this method. CSS/JS codes required in the design and functions used in the area we call above the fold should never be delayed. Delaying the codes used in the above the fold will cause the page to appear distorted until the first user action. Optimization does not mean sacrificing user experience. Another important point is, if you have adsense etc. If an advertising script is used and above the fold, Adsense revenues may decrease as it will be delayed until the first user action. However, Adsense ads contain extremely burdensome JS codes. Therefore, delaying it will have very positive consequences for the site performance. But there are alternative ad types that can be added to achieve the performance/revenue balance. Bottom line, you should be careful when delaying css/js and definitely exclude codes and files above the fold. For CSS/JS delays, you can use one of the popular optimization plugins we recommend later in our article.

Take Advantage of Browser Cache

WordPress Speed Optimization One of the things you need to do is to use browser caching. In order to save time for users who constantly log in to your page, some static files are kept in a temporary directory in your device's local storage. This will ensure that the page speed increases and loads faster on subsequent page visits. To activate browser caching, we will recommend in the following section of our article: WordPress Optimization You can use one of the plugins.

Use a Successful WordPress Speed Optimization Plugin

WordPress Speed Optimization in the process WordPress Site Acceleration It is of great importance to use the plugins correctly. These plugins contain many important features such as full page cache, caching of static resources, compression, delay, font and image optimization.

Most Successful WordPress Speed Optimization Plugins

The most successful today WordPress Speed Optimization If we need to list the add-ons, we can offer you the following list:

  • FlyingPress
  • Nitropack
  • WP Rocket
FlyingPress

named FlyingPress WordPress Site Acceleration The plugin is much more functional than WP Rocket and more stable than Perfmatters. Especially the Lazy Render feature, added in the latest version, is not available in any other optimization plugin in the WordPress ecosystem. There is a similar plugin in Swift Performance, but its operation and stability are not as successful as in FlyingPress. There is no free version of the plugin, it can be used by obtaining a license from the original site. You need to make the settings correctly manually. We leave the link where you can access the plugin here ->https://flyingpress.com/

Nitropack

Nitropack is especially preferred in e-commerce and complex WordPress sites and is widely used to increase the speed of the web page. WordPress Site Acceleration plugin. By using this plugin, you can increase the speed of your website without needing any coding knowledge. A free version of the plugin is available. However, in the free version, the plugin works until it reaches the monthly page views and 1 GB CDN quota limits of 5000 page views. In the paid version, CDN quota and monthly page view limits vary with each package. The most important disadvantage of the plugin is this strategy in pricing. After reaching these limits the plugin stops working. You can access the Nitropack plugin from this link -> https://wordpress.org/plugins/nitropack

WP Rocket

WP Rocket is one of the premium optimization plugins. With this plugin, you can increase the speed of your website in a short time and make the page open in a shorter time. However, you need to consciously set the plugin settings correctly. Otherwise, you will not see the benefit of the plugin. Since this plugin is paid, it can be downloaded from the official website after purchase; There is no free version available. You can access the official website of the plugin using this link -> https://wp-rocket.me


Pay Attention to the Use of Content Delivery Network (CDN)

CDN usage, WordPress Speed Optimization It is one of the important factors that should be taken into consideration. If a visitor comes from where the data center is located, the web page will take much longer to load.

Content delivery networks (CDN) enable the use of thousands of data centers around the world. Static files such as your images, Javascript and CSS are presented to visitors from these data centers. In this way WordPress Optimization In this context, the loading time of the page is reduced.

Below we include the popular content distribution networks and their websites today:

The cost of the distribution networks you will use above varies depending on the amount of bandwidth the website uses and the location of the data center.

Pay Attention to the Quality of Your Theme

WordPress Speed Optimization Another piece of advice we can give you is that the theme you use is cleanly coded. The codes used in the code structure should not be repeated, and functions that are out of support or cause performance loss should not be used. Clean coded, quality themes best WordPress themes We detailed it in our article.

The most important mistake made today in this regard is based on how optimization-friendly and fast the themes are. It decides by testing on platforms. Even the best-selling themes such as Betheme and Thegem publish their demos without optimizing them. This causes incorrect evaluations about theme quality and performance.

Resources Required for Effective Use of WordPress

Having a CPU limit of 1 CPU (100%) on the hosting hosting the WordPress site is generally sufficient for WordPress sites. However, hosting with 1 CPU for Woocommerce supported themes or Woocommerce plugin is often insufficient. In general, hosting with a minimum of 1 CPU (100% usage permission), 1 GB RAM and 5 mb/s i/o limit is ideal for WordPress. But some Woocommerce/Buddypress supported themes or Woocommerce etc. When plugins that require more resources are used, these resources may be insufficient. In this case, better results are obtained with a hosting with 10 MB / s features with 2 CPUs and 2 GB RAM. These criteria are valid for sites with less than 50-100 current visitors. Software is not the only factor affecting resource consumption. Your traffic also increases resource consumption.

WordPress Speed Optimization Service with Licensed Plugin and Special Codings

WordPress Speed Optimization In today's world, it has become not an option to be evaluated, but an obligation that must be realized. Some users WordPress Speed Optimization He thinks that his site cannot be optimized because they received their services from inexperienced freelancers and the result was unsuccessful. On the contrary, all WordPress sites can be optimized at different rates depending on the server, theme and plugins. WordPress Speed Optimization We specialize in the field and improve your Google PageSpeed ​​Core Web Vitals values ​​for your sites, increasing the actual speed of your site. To contact us, you can send us a message on Whatsapp by scanning the QR code.