Techloaded247Techloaded247
  • Home
  • Tech
  • Mobiles
    • My Gadgets
    • Gaming
  • Contact Us
  • Tech Jobs
    • TECH JOBS IN NIGERIA
    • TECH JOBS IN U.S.A
    • TECH JOBS IN CANADA
    • TECH JOBS IN INDIA
  • ABOUT US
Facebook Twitter Instagram
Facebook Twitter Instagram
Techloaded247Techloaded247
  • Home
  • Tech

    Best Cheap Cloud Hosting Server 2023

    How to Fix Stuck on Meta Quest Logo Screen? (SOLVED)

    What is Smart Energy?

    Do Teslas Need Oil Changes?

    YouTube to MP3 Music Converter: 10 Best Sites

  • Mobiles
    1. My Gadgets
    2. Gaming
    3. View All

    How to sell Apple HomePod

    Fan Favorite Disney Apple Watch Bands You’ll Love

    Samsung Smart Tag Wallet: Overview

    Galaxy Watch 4 42mm vs 46mm – The Right Size For You?

    Games like Uncharted For Xbox: Adventure and Treasure

    How To Fix Sprint Bug in Dead Space Remake

    Dead Space Remake Review: What’s New

    Revealing Rise of the Ronin, a new action-RPG

    iPhone 15 Pro — Everything We Know So Far

    Fitbit Sense 2 vs Fitbit Sense: Full Comparison

    Google Pixel 7 Vs. iPhone 14 Plus: Full Comparison

    Fixing Iphone That Won’t Charge: Easy Steps

  • Contact Us
  • Tech Jobs
    • TECH JOBS IN NIGERIA
    • TECH JOBS IN U.S.A
    • TECH JOBS IN CANADA
    • TECH JOBS IN INDIA
  • ABOUT US
Techloaded247Techloaded247
Home » Step 13: Enable gzip compression for WordPress
WordPress Tutorial

Step 13: Enable gzip compression for WordPress

Techloaded247 TeamBy Techloaded247 TeamUpdated:January 25, 2023No Comments3 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

wordpress gzip compression graphic

Enabling gzip compression improves the speed of your WordPress site by compressing the code and text.

It accomplishes this by locating and replacing comparable chunks of text in files (temporarily, everything will appear exactly as you typed it lol), which, because HTML and CSS files include so many repeating pieces of text, can lower the size of a WordPress page by 50-75 percent.

There is a technical technique to enable gzip compression via your site’s.htaccess file that is less likely to cause problems… You can do it if you know what you’re doing.

So, in the interim, we’ll make use of plugins such as:

  • WP Rocket
  • W3 Total Cache
  • WP Super Cache

Yep, the caching plugins we recommend above all have gzip compression built-in!

Defer parsing of JavaScript in WordPress

wordpress defer javascript parsing graphic

To make fancy stuff like sliders and smooth scrolling work, most WordPress themes and plugins employ a lot of JavaScript code.

By default, browsers load that JS code first, which delays the appearance of HTML and pictures, making the site feel slow.

The solution is to load visual elements first, so that visitors to your site see something, and then JavaScript after that, so that your page’s complete functionality is available.

Plugins that can help you with that:

  • WP Rocket (yeah, this one’s a go-to for WordPress speed)
  • Autoptimize
  • Async JavaScript

Use a WordPress CDN

wordpress cdn servers in the sky graphic

By caching (storing copies of your site’s files) in numerous data centers around the world, a Content Delivery Network (aka “CDN”) speeds up your WordPress site.

Consider the following scenario: your website is hosted on a server in Los Angeles, and someone tries to access it from London (UK).

It will take some time for your website’s files to go from Los Angeles to jolly old England (milliseconds, but it makes a difference).

It would be significantly faster if those files were already on a London server; they could be with a CDN.

You’ll need a plugin to enable the CDN for your site, as well as a CDN service to distribute and host those files, to receive these quick speed boosts.

Plugins:

  • WP Rocket (yeah it does this too!)
  • W3 Total Cache
  • WP Super Cache

WordPress CDNs:

  • StackPath
  • KeyCDN
  • Cloudflare

WordPress lazy loading plugins

wordpress lazy loading man snoozing

When someone views a page on your website, all of the content is loaded at the same time.

This is referred to as “eager loading.”

However, some content, such as photos near the bottom of your page, does not need to be loaded when a visitor first arrives.

Instead, they may be loaded when a visitor has scrolled down 75 percent of your page, allowing the top of the page to load faster.

Table of Contents

  • The first step is to obtain a domain name and web hosting.
  • Step 2: Installing WordPress
  • Step 3: Using WordPress to Login
  • Step 4: How to Use the WordPress Admin Panel
  • Step 5: Putting WordPress Themes Into Place
  • Step 6: How to Install WordPress Plugins
  • Step 7: How to Change the Look and Feel of Your WordPress Theme
  • Step 8: Adding Pages to WordPress
  • Step 9: How to make a WordPress blog post
  • Step 10: Creating WordPress Menus
  • Step 11: Putting Your WordPress Site Online
  • Step 12: How to speed up WordPress
  • Step 13: Enable gzip compression for WordPress
  • Step 14: How to Make Your WordPress Site More Secure
  • Step 15: How to update your WordPress site
  • Step 16: How do you backup your WordPress site
  • Website tips and tricks for WordPress
  • Now that you can build your own personal website
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Techloaded247 Team
  • Website

Related Posts

Now that you can build your own personal website

Website tips and tricks for WordPress

Step 16: How do you backup your WordPress site

Step 15: How to update your WordPress site

Add A Comment

Leave A Reply Cancel Reply

New Comments
  • MintCoder on Apple removes the Apple Watch Series 6 from its official lineup
Techloaded247
WhatsApp Facebook Telegram Twitter Discord
  • Home
  • Tech
  • My Gadgets
  • Mobiles
  • Get In Touch

© 2023 Techloaded247. Designed by Techloaded Team.

Type above and press Enter to search. Press Esc to cancel.