Deprecated: WP_Translation_Controller::load_file(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 101
Deprecated: WP_Translation_Controller::unload_file(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 156
Deprecated: WP_Translation_Controller::unload_textdomain(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 201
Deprecated: WP_Translation_Controller::is_textdomain_loaded(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 243
Deprecated: WP_Translation_Controller::translate(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 263
Deprecated: WP_Translation_Controller::translate_plural(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 297
Deprecated: WP_Translation_Controller::locate_translation(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 397
Deprecated: WP_Translation_Controller::get_files(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-controller.php on line 430
Deprecated: WP_Translation_File::create(): Implicitly marking parameter $filetype as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/l10n/class-wp-translation-file.php on line 84
Deprecated: wp_getimagesize(): Implicitly marking parameter $image_info as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-includes/media.php on line 5502
Deprecated: YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php on line 60
Deprecated: Elementor\Controls_Stack::get_active_controls(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 352
Deprecated: Elementor\Controls_Stack::get_active_controls(): Implicitly marking parameter $settings as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 352
Deprecated: Elementor\Controls_Stack::get_style_controls(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 799
Deprecated: Elementor\Controls_Stack::get_style_controls(): Implicitly marking parameter $settings as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 799
Deprecated: Elementor\Elements_Manager::create_element_instance(): Implicitly marking parameter $element_type as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/managers/elements.php on line 70
Deprecated: Elementor\Element_Base::__construct(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/base/element-base.php on line 1563
Deprecated: Elementor\Repeater::__construct(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/includes/elements/repeater.php on line 49
Deprecated: Elementor\Core\Utils\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/cptech/public_html/wp-content/plugins/elementor/core/utils/collection.php on line 43
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-theme-json.php on line 2532
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-theme-json.php on line 2532
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-theme-json.php on line 2532
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-theme-json.php on line 2532
How to Optimize Wordpress for best performance | A cPanel Tech
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block.php on line 246
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /home/cptech/public_html/wp-includes/class-wp-block-type-registry.php on line 168
Being a server admin, I have been receiving a lot of requests to speed up their sites and optimise WordPress installations so that they load very fast. I am citing a few examples on how to optimize WordPress in a clever way.
1. Choose a light weight theme.
The theme is the soul of a WordPress site. If you choose a poorly designed theme, it will take a lot of time to load and that will slow up your site. Your theme should be intelligent and fast. It will not be a liability if you spend a few bucks to buy a premium theme and use it on your site then go with a free theme which could have a lot of other vulnerabilities.
While I always try to suggest to minimise the number of images, it may not be possible always, on many websites. So you have to make sure that the images are correctly scaled and cropped down so that the page size will be minimum. Ideally, the size of a page should not go beyond 1.5Mb for faster page loads.
3. Use a static URL to serve images.
Taking off the images from the main site is one big task which could make the site load a lot faster. You have to configure a new domain or a subdomain to serve the static content and you can even push that to CloudFlare so that it automatically CDN-ises it. So your site/server will only serve the dynamic content and the CDN will serve the static content.
4. Use very minimal plugins.
Most of use use a LOT of plugins on our site, and most of which we wont use at all. If you haven’t used a plugin for more than 10 days in your blog, you do not really need it. Uninstall and remove it.
5. Reduce the number of third-party content.
If your site loads a lot of content from third-party sites (ads mostly), then there is high chance that your site can be slow. These advertisement servers could be very slow ad it causes our site too to be slow.
6. Use a Caching plugin
Caching is the last step that you have to do while you’re optimising your site. There are different types of caching plugins available which you can choose as per your site. My personal suggestion is lscache, if you are on a litespeed server, or w3tc or wproket etc.
This plugin will disable the heartbeat of wordpress which otherwise would cause a lot of resource usage.
8. Disable WP-CRON
Follow this article to disable WPcron , and speed up your site.
These are the basic ways to optimize WordPress as a webmaster. As a server admin, you have more room to optimize WordPress. I will be discussing it in my next posts.
Leave a Reply