Optimize WordPress


WordPress is not a slow CMS but we could slow it down by including non-optimized themes and plugins, and although it is a very easy to use CMS you must have notions of what you are doing when modifying the settings.

We will analyze some necessary points to have a good loading speed.

  1. Web hosting
    It is important to choose a very good provider, since the storage capacity, the performance of the CPU and the RAM will depend on this. As advice you should take into account the technical support that they offer you
  2. Updated versions
    Always use the latest versions of WordPress, PHP, plugin, and themes.
    By doing this, in addition to ensuring that your website remains secure, you will see a considerable speed improvement on the site.
  3. Just what is necessary
    Currently when purchasing a theme it comes with options that are not necessary, if your site is a blog you should modify a little php to avoid loading the functions that you do not need. (for example, pricing sections, testimonials, other galleries).
    In addition to this, it is advisable to eliminate unused plugins, although these are disabled, they can cause a longer loading time and be subject to attacks.

  4. Minify code
    This means that we must compress code files such as javascript, css, etc.
    Minifying code is nothing to write home about, in most cases you will only have to eliminate spaces and line breaks, these spaces and line breaks can help to develop the code in a better way but for the computer they are only empty bytes that cause delay in processing.
    An example is the following:
    Unminified code.

    #wpadminbar {Min-height: 32px; } .site-header {top: 0; left: 0; width: 100%; background: #fff; }

    Minified code.

    #wpadminbar {min-height: 32px;} .site-header {top: 0; left: 0; width: 100%; background: #fff}
  5. Optimized images
    Large images will take longer to load which translates into longer waiting time to view the website.
    It is advisable to choose the correct image format
    PNG: Allows for higher quality but will weigh considerably more. It is recommended only to use it in logos and small images
    Jpeg: The weight is much less than a PNG but also the quality will decrease. This format is best for very large images, with many colors or elements.
    WEBP: Although it is not universally supported this is a format which offers better image compression than JPEG, PNG and GIF
Previous IPTABLES that you should know.
Next Joomla, WordPress which one should I use?

No Comment

Leave a reply

Your email address will not be published. Required fields are marked *