Make fewer http requests wordpress

New Page

ryan cordoni/ Last updated November 17, 2021

8 Ways to Reduce HTTP Solicitations on WordPress Sites

Is your WordPress site making too many HTTP requests? Your page can load faster! Here are 8 ways you can reduce HTTP requests on your website.

8 Ways to Reduce HTTP Solicitations on WordPress Sites Approximate reading time: 8 minutes

Your website is slow.

Not only is it slow, but now you know that getting a faster site has something to do with HTTP requests.

This means that you will need to learn another new thing… And all of this just to get your WordPress site off the ground!

Pas de thèmes, WordPress warriors! Le blog Formidable is here for you, we’ve even done most of the work! You will only need to execute these 8 easy methods. As this guide will show, it’s actually not that difficult.

Reducing the number of HTTP requests on your site will not only improve load times, but also dramatically improve the overall user experience.

Let’s do it! Faster page load times are closer than you think.

Formidable Forms is the best WordPress Form Builder addon. ¡Consiguelo gratis!

What are HTTP requests?

What are HTTP requests?

Before we show you how to reduce them, it’s important to know exactly what an HTTP request is. What do you know so far?

Si está aquí, debe saber que las sollicitudes HTTP están conectadas a la velocidad de la página de alguna manera. Felicitaciones, tienes razón. Pero hay un poco más que eso.

Para comprender mejor las sollicitudes HTTP, comprendamos qué sucede cuando visitamos un sitio web en un navegador web :

  1. Usted visita un sitio web utilizando un navegador web.
  2. HTTP requests occur when your browser requests files to download.
  3. The website’s server returns all the files needed to load the website.
  4. Once all the files have been loaded, you can view and interact with the site.

By now you might be realizing that this isn’t very complicated in theory. The fewer HTTP requests a website has to make, the faster it can load.

So what can you do to reduce your WordPress site’s HTTP requests? We’ve done the research and compiled 8 simple ways.

But before we count those down, let’s understand the basic principles of HTTP requests:

More Files = More HTTP Requests

Bigger Files = Longer HTTP Requests

First, you want to reduce the number of files your site loads. This will, in turn, reduce the number of HTTP requests and result in faster loading times.

Next, you want to ensure that all the files on your website are as small as possible. Smaller files take less time to load and also result in faster site loads.

Do you see? It’s all very straightforward. Fewer files and smaller files can help you with speeding up your site. Tracking your HTTP requests can actually give you great insights into how you can improve many aspects of your website.

Feeling confident? Soon your WordPress site will load faster than ever. But first, a test.

Test your site for HTTP requests

Usa Pingdom to escanear your site

The easiest way to test how many HTTP requests occur on your WordPress site is with external tools.

There are a couple of options:

  • Web tools like Pingdom or GTmetrix
  • WordPress plugins like Query Monitor

If you use the web tool, all you need to do is click one of the links above and enter your URL to test your site.

After that, your website will be scanned… and voila! You can see how many HTTP requests there currently are.

You can also see a lot of other things. Truth be told, getting deep into your website’s scan data can feel overwhelming.

Unless the curiosity is eating you alive, let’s stay focused on today’s goal of decreasing HTTP requests. Hang in there!

Reduce HTTP requests on your WordPress site

When thinking about site speed, technical SEO, and things like HTTP requests, it’s perfectly natural to feel apprehensive about getting started.

Nevertheless, we can honestly say that we think the average WordPress user can handle everything on this list.

Here’s how you can chip away at your HTTP requests:

  1. Combine CSS & Javascript
  2. Minify code (HTML, CSS, Javascript)
  3. Enable lazy load
  4. Remove unneeded images
  5. Reduce image file size
  6. Disable unneeded plugins
  7. Reduce external scripts
  8. Use a CDN

1. Combine CSS & Javascript

One way to reduce HTTP requests is by combining multiple CSS and Javascript files.

If you have no idea how to work with CSS and Javascript, don’t freak out! There are easy ways to do this that don’t require adjusting your CSS file manually.

For starters, many WordPress caching plugins have this feature. That means you would just need to install the plugin and enable the correct settings to combine CSS and Javascript files.

What’s more, many modern WordPress themes include this feature! Just take a look at your theme options to see if the setting exists.

Reduce HTTP stresses with the cached almacenamiento add-on

🤔 Did you know?

Formidable Forms does the hard work for you! Our form builder plugin reduces HTTP requests by combining CSS and Javascript files!

2. Minify code (HTML, CSS, Javascript)

Are you still poking around in your theme options or that WordPress caching plugin? Good, because there is another option you might be able to find: Minification.

Let’s first see how Wikipedia defines it:

Minification is the process of removing all unnecessary characters from the source codes… usually things like white space characters & comments… which are used to add readability to the code but are not required for it to execute.

So when you enable the minify setting in your theme options or caching plugin, that’s what’s happening! It’s automatically trimming the unneeded fat in your website’s code.

By minifying the code, it makes your site load faster by requiring fewer and shorter HTTP requests. This is a great trick, but it’s no replacement for a cleanly coded website.

If your site is still dragging even after doing everything on this list, you might need to hire a developer to do a deeper dive into your code.

For the adventurous among us, it can be tempting to start digging around in your site’s CSS and Javascript files. We strongly recommend you resist this urge!

If you make changes that end up breaking your site, you’ll be in a much worse situation. Be careful out there.

Did you know? Formidable Forms automatically minimizes the Javascript and CSS so you never have to think about it.

3. Habilitar la carga diferida

You didn’t leave your theme options section yet, did you? Good. Because there’s one more setting there that can reduce HTTP requests. It’s called lazy load.

Lazy Loading defers the loading of images that are not needed on a page immediately. Simply put, lazy load allows websites to load faster because it ensure only what is visible on-screen will be loaded initially.

So unless your users have the tendency of arriving at your site and scrolling up and down wildly, lazy loading could make your site considerably faster.

If your WordPress theme settings don’t include lazy load, no worries. With WordPress core and a current browser, your site will include lazy loading automatically.

Enable lazy loading

4. Remove unneeded images

Everyone loves a pretty picture. They are important at every stage of the customer journey.

Brightlocal found that 60% of consumers are more willing to consider a search result that includes an image. That means even before a customer lands on your website, images are important!

Nevertheless, it’s always a good idea to trim extra images from our WordPress sites when possible. This becomes a little easier if you already follow the principle of less is more.

When it comes to HTTP requests and images, less is actually… less! As in, you’ll reduce the number of HTTP requests on your site if you have fewer images.

Did you know? Formidable Forms reduces load time by using compressed SVGs instead of images wherever possible.

5. Reduce image file size

Reduce file size

This one couldn’t be easier. Just make your images smaller! It takes less time to load smaller images.

Keep in mind that there’s always a trade-off between image quality and file size. It can be tempting to reduce the file size as much as allowed, but if you do that, your images could end up looking a little bit low-fi.

With that in mind, here a couple of easy ways to make your images smaller:

Change image-render settings: When rendering (saving or exporting) your image in Adobe Photoshop or Illustrator, be aware of the best settings for size and quality. If the image is a photo, go for a medium quality jpg. If the image is a vector drawing, save it as a png.

Use a web service: Maybe you found an image that you want to use for your site. Perfect! Only one problem – it’s huge! If you don’t know how to use Photoshop, try a website like picresize.com.

6. Disable unneeded plugins

Having too many plugins on your WordPress site is something we talk about all the time at Formidable.

There are 2 things to consider when trying to reduce the number of HTTP requests on your site.

  • The number of installed plugins
  • The CPU load of installed plugins

Naturally, limiting the number of plugins is a great place to start. Deactivate and uninstall plugins that you are not using.

Reduce HTTP Requests with the Query Monitor Plugin

But here’s another thing to consider. High CPU plugins can manifest a ton of HTTP requests. This is where the Query Monitor plugin can come in handy again.

Query Monitor allows you to check into which plugins are using the most resources. Very handy!

The general rules of thumb: avoid plugins that use external requests from other websites, run ongoing processes, or take a long time to load.

For example, social media plugins are notorious offenders because they rely on a connection between your site and a social site.

In fact, many social media plugins are going to be guilty of all three of the above-mentioned sins! Avoid them whenever possible.

Read more: Does Formidable use caching?

7. Reduce external scripts

An external script is something that pulls requests from other websites. You may not have thought about it, but external scripts are very likely running on your WordPress site.

Are external scripts bad? Not necessarily. They can help people do amazing things with their sites. It’s just that having too many of them running on your site will lead to an increase in HTTP requests.

Aquí hay algunos examples of external scripts that many WordPress sites are constantly running:

  • Google (AdSense, Analytics, etc.)
  • Embedded videos
  • Embedded Widgets + Posts
  • Social sharing plugins

The truth is that there are workarounds that allow all users to run external scripts and require certain HTTP solicitations. Pero is seen technically demanding very quickly.

But there is one non-technical thing you can do: try to limit external connections to only those that are absolutely necessary.

To do this, you can be creative in your problem solving. For example, using a Google Maps plugin, you could simply take a screenshot of a map and post it to your site.

It is likely that a Seoul image archive will need certain HTTP requests as a plugin in almost all cases. This type of creative can be applied throughout your site so that you are less reliant on external connections.

8. USA and CDN

Cloudflare CDN can help reduce HTTP solicitations

CDNs are becoming more and more popular. That’s right ! They increase site speed and also improve site reliability and SEO.

CDN stands for Content Delivery Rouge . It sounds complicated, but it’s just a clever solution that optimizes the way websites load.

The way a CDN improves site speed is not that complex. They work by delivering cached website content to users based on their geographic location.

There are a few other factors involved, but for our purposes, we just need to know that CDNs can help our sites make fewer HTTP requests.

Heureusement, due to the growing popularity of CDNs, they are becoming much more accessible to the average WordPress user. There are plenty of great CDN options available such as Stackpath (previously MaxCDN) and Cloudflare.

A correctly configured CDN can do wonders for the vitesse of the site. Sans one thing to note though: CDNs are not free and usually cost around $10 USD per month.

Ending

¡Qué viaje! At these levels, debe haber reduces the quantity of HTTP requests on its website. Mantente así: the speed of the site is a very important factor for SEO and user experience.

We hope you found this article useful, fun, and concise. Until next time, happy WordPress everyone!

Read more: WordPress Optimization

  • How to Optimize Images to Improve WordPress Site Rendering
  • WordPress Plugins: Does your site have too many?
  • 20 Best WordPress Addons for Download in 2020
  • 6 Ways to Use Calculators on WordPress Sites

If you have a lot of HTTP requests on your WordPress site, a form of reduction et d’excellents complements. Formidable Forms takes advantage of almost every speed boosting technique in this guide.

Plus, Formidable Forms is optimized to handle your contact forms, subscriber forms, and testimonial forms. Why install 5 plugins when you could install one? Try Formidable free for 14 days and take control of your plugin directory!

Google Google translator

Google Google Translate

Google Traduction


Video Make fewer http requests wordpress

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…