📜 ⬆️ ⬇️

"Jetpack" is not so reactive, or how to do without it

The article will be primarily interesting to non-beginners a little more advanced users, or to those who actually fit into the installation of WordPress in less than 5 minutes.

As the name implies, it will be about such a popular plugin from an equally popular development team from automattic , namely Jetpack .

To think about the Jetpack I was forced by a slowdown, which I immediately noticed when changing the VPS to a cheaper tariff. I will not name the hoster, - this is a separate story. The configuration of the new server was as follows.

Iron



System



Of the additional third-party plug-ins were also installed W3 Total Cache and WordPress SEO by Yoast, which, surprisingly, not so much load the server. But first things first.
')
So, the first and probably the most important reason why I decided to shovel the Jetpack is the TTFB (Time To First Byte) indicator, which increased by as much as 80-110 ms., That is, if the server’s response was earlier after cleaning the cache and rebooting the system in the region of 190-220 ms., then after installing the Jetpack, this figure increased to 320 ms. I emphasize - precisely after installing Jetpack. I mean, if you even turn off all the components of the plugin, it’s still connected to the WordPress core and you won’t be able to get rid of the inhibition. I immediately began to look for a replacement for all individual components, and this is what happened.

  1. Components such as Custom CSS , Extra Sidebar Widgets , Infinite Scroll , Site Icon, Mobile Theme, Site Verification Tools , Sharing I think you can screw it yourself, if your hands obey the brain and grow from the right place. And if you have not heard of such a wonderful service as GenerateWP , then I advise you to look there.
  2. Shortcode Embeds is a necessary thing, but for all the time I use the Jetpack plugin, I have never come in handy, especially since WordPress has so many default shortcodes inserted available .
  3. Jetpack Comments most likely attracts many, but at least once you have been counting the number of .js scripts that are pulling from you. That is, you can also not count on a good indicator in Google Pagespeed. I chose Disqus comments for myself as one of the most successful solutions, and Disqus Conditional Load served as a plugin for integration into WordPress.
  4. Let's be honest - at least once you've used such components as Beautiful Math , Enhanced Distribution , Markdown , Post By Email , Spelling and Grammar . I personally enjoyed it, but I did not see the real benefit. As for posting via e-mail, this option has long been present in WordPress, but not everyone will be able to deal with it the first time, since the launch of Cron is required.


In more detail, I would like to touch on the components of Photon , Publicize and Protect , which seemed to me in principle very useful tools. But there are three "but".

The first involves Photon , which downloads images from the CDN (content delivery network) WordPress.com. This means that links to your images are transformed from site.ru/wp-content/uploads/2015/05/image.jpg site.ru/wp-content/uploads/2015/05/image.jpg into something similar i2.wp.com/site.ru/wp-content/uploads/2015/05/image.jpg i2.wp.com/site.ru/wp-content/uploads/2015/05/image.jpg , that is, the search engine does not index your domain.

The second "but" affected Publicize . The automatic sharing of posts in social networks today is a very important and significant tool in promoting a resource, but here’s the lack of sharing in the Publicize component on VKontakte hooked me a little. I don’t want to raise a certain holivar and give many reasons why foreign services often simply ignore support in their API for Russian social projects, but on the other hand it’s disrespect to a huge audience of the same VKontakte. A replacement was found in the Social Networks Auto-Poster plugin.

The most recent and in my opinion perhaps one of the most successful solutions for protecting the admin panel of your WordPress site is the new Protect component. And how I want such a wonderful tool to go separately from the Jetpack plugin. After all, it is almost impossible to find fault with the Protect component; it does its job at the WordPress.com network level, thereby protecting it well against brute force. In this regard, I fully agree with kovshenin , who also considers Protect to be a good tool. For a long time I was still inclined to opt for two-factor authentication, which gave rise to the third "but."

In general, a plugin like Jetpack in the WordPress world is one of the leaders, and for many it is an indispensable tool. But as for me, the jetpack is not as “reactive” as it seems.

Source: https://habr.com/ru/post/259117/


All Articles