Reduce HTTP Requests in WordPress: A Complete Guide

Every element on your WordPress page — every image, every CSS file, every JavaScript file, every font, every external widget — requires a separate HTTP request to load. Each request has overhead: a DNS lookup, a TCP connection, an SSL handshake, and a waiting time before the first byte arrives.

A typical unoptimised WordPress site makes 80–120 HTTP requests per page load. Each one adds time. Combined, they're one of the most significant contributors to slow WordPress loading speeds.

80–120 HTTP requests per page = Slow loading times

Reducing your HTTP request count is one of the most effective performance optimisations you can make — and unlike some performance techniques, it requires no server configuration or hosting changes. This complete guide shows you exactly how to find unnecessary requests and systematically eliminate them.

What Is an HTTP Request?

When a browser loads your WordPress page, it reads the HTML document and finds references to additional resources it needs to display the page:

  • CSS stylesheets (<link rel="stylesheet">)
  • JavaScript files (<script src="...">)
  • Images (<img src="...">)
  • Fonts (@font-face declarations)
  • External embeds (YouTube, Google Maps, social widgets)
  • Favicon

For each of these, the browser sends a separate HTTP request to the relevant server. Each request goes through:

  1. DNS lookup — resolving the domain to an IP address
  2. TCP connection — establishing a connection to the server
  3. TLS handshake — negotiating encryption (for HTTPS)
  4. Request/response — actually sending and receiving the data

Steps 1–3 add latency even before any data is transferred. On a page with 100 requests, this overhead compounds significantly.

Pro Tip: HTTP/2 and HTTP/3 reduce the impact somewhat — they allow multiple requests to be multiplexed over a single connection. But even with HTTP/2, fewer requests is always faster than more.

Step 1: Audit Your Current HTTP Requests

Before reducing requests, you need to know what you're actually dealing with.

GTmetrix (gtmetrix.com): Run your site through GTmetrix and look at Requests (total number), Page Size (total data transferred), and the Waterfall Chart (visual timeline of every request). Look for clusters of small CSS and JS files, multiple requests to external domains, and requests blocked waiting for other requests.

Google PageSpeed Insights: Look for these specific warnings in the Opportunities section: "Eliminate render-blocking resources", "Reduce unused JavaScript", "Reduce unused CSS".

Browser DevTools: Open Chrome → Press F12 → go to Network tab → Reload your page → At the bottom, you'll see the total number of requests and total page size → Click the Type column to sort by file type.

01
Minify and Combine CSS Files

Every WordPress plugin and theme loads its own CSS stylesheet. A site with 20 plugins easily makes 20+ separate CSS requests. Combining these into a single file and minifying them (removing whitespace and comments) dramatically reduces both request count and file size.

Using Autoptimize (free):

  1. Install and activate Autoptimize
  2. Go to Settings → Autoptimize
  3. Check "Optimize CSS Code"
  4. Check "Aggregate CSS files" (this combines multiple CSS files into one)
  5. Save and test

Using WP Rocket:

  1. Go to WP Rocket → File Optimization
  2. Enable "Minify CSS files"
  3. Enable "Combine CSS files"
  4. Save and test
Important: After enabling CSS combining, always test your site visually. Some CSS files can't be safely combined — WP Rocket and Autoptimize both have exclusion lists for files that should remain separate.
02
Minify and Combine JavaScript Files

JavaScript files are even more numerous than CSS files on a typical WordPress site. Each plugin can load multiple JS files — core functionality, dependencies, localisation strings, and more.

Using Autoptimize:

  1. In Settings → Autoptimize
  2. Check "Optimize JavaScript Code"
  3. Check "Aggregate JS files"
  4. Save and test thoroughly — JS combining is more likely to break interactive elements than CSS combining

Using WP Rocket:

  1. Go to File Optimization
  2. Enable "Minify JavaScript files"
  3. Consider enabling "Combine JavaScript files" — but test carefully
  4. Enable "Load JavaScript Deferred" — this doesn't reduce requests but removes them from the critical rendering path
Warning: Some scripts must load in a specific order or require the DOM to be ready before executing. If combining breaks your site (menus stop working, sliders break, forms malfunction), use the exclusion list to keep those specific scripts separate.
03
Disable Plugin Assets on Pages That Don't Need Them

This is one of the most impactful and underused optimisation strategies. Every active WordPress plugin loads its CSS and JavaScript files on every page — even pages where the plugin's functionality is never used.

A contact form plugin loads its scripts on your About page where there's no form. A WooCommerce plugin loads cart scripts on your blog posts. A slider plugin loads its hefty JavaScript on your contact page. Each one is a wasted HTTP request.

Using Asset CleanUp (free):

  1. Install and activate Asset CleanUp: Page Speed Booster
  2. Go to any page on your site in the WordPress editor
  3. You'll see a list of every CSS and JS file being loaded on that page
  4. Uncheck any assets that aren't needed on that specific page
  5. Save — those files will no longer load on that page

Using Perfmatters (premium):

  1. Install and activate Perfmatters
  2. Enables disabling scripts per page type (homepage, posts, pages, WooCommerce) rather than page-by-page
  3. Also includes a "Script Manager" that shows you what's loading where
Pro Tip: This strategy can easily eliminate 20–40 HTTP requests on pages where multiple plugins' assets are being loaded unnecessarily.
04
Remove Unused Plugins

The most fundamental request reduction strategy: fewer plugins = fewer assets loaded = fewer HTTP requests.

Every plugin you delete removes not just its functionality but all the CSS files, JavaScript files, and admin assets it was loading.

Plugin audit process:

  1. Go to Plugins → Installed Plugins
  2. For each active plugin, ask: "Am I actively using the feature this plugin provides?"
  3. For "yes" plugins: Check if a lighter alternative exists that achieves the same result with fewer scripts
  4. For "no" plugins: Deactivate and delete immediately

Common heavy plugins worth replacing:

Plugin HTTP Requests Lighter Alternative
Jetpack (full)10–20Individual plugins per feature
Slider Revolution8–15CSS-only hero in theme
Visual Composer / WPBakery10–20Native block editor
Old social sharing plugins5–10AddToAny (loads 1 JS file)
Multiple SEO plugins5–10One SEO plugin only
05
Self-Host External Resources

Every external domain your page loads resources from requires a separate DNS lookup and TCP connection — even before the file starts downloading. Self-hosting these files (serving them from your own domain) eliminates the external connection overhead.

Self-host Google Fonts:

  1. Install OMGF (Optimize My Google Fonts) plugin
  2. Go to Settings → Optimize Google Fonts
  3. Click Save & Optimize — the plugin downloads the fonts and generates local CSS
  4. Your fonts now load from your own server with zero external requests

Self-host Google Analytics:

  1. Install CAOS (Complete Analytics Optimization Suite)
  2. It downloads the Google Analytics script and hosts it locally
  3. The external request to google-analytics.com or googletagmanager.com is eliminated

Self-host other third-party scripts: For Facebook Pixel, LinkedIn Insight Tag, and similar scripts, consider loading them through Google Tag Manager with a server-side GTM setup — this consolidates all tracking into a single server-side request.

06
Use Icon Fonts or Inline SVGs Instead of Image Icons

Many WordPress themes use icon sprite sheets or individual icon image files — each one a separate HTTP request. Modern alternatives eliminate these requests entirely.

  • Font Awesome CDN: Loads via CSS from a CDN (1 request) instead of multiple image files. Most themes that use icons already use Font Awesome or a similar icon font.
  • Inline SVG: Embeds the SVG code directly in the HTML — zero HTTP requests. Ideal for logos, unique icons, and brand elements.
  • CSS-only icons: Simple geometric icons (arrows, hamburger menus, checkmarks) can be created with pure CSS — zero HTTP requests.
Pro Tip: If your theme or page builder is loading a large icon library for a small number of icons used on the page, consider requesting your developer to subset the icon font to only the icons actually used.
07
Eliminate Unnecessary External Embeds

External embeds are among the heaviest HTTP request contributors on many WordPress sites:

  • YouTube embeds load 10–15 external requests (player scripts, thumbnails, tracking) even before the video plays
  • Google Maps typically loads 8–12 requests
  • Social media widgets (Twitter feed, Facebook like box) load external scripts, stylesheets, and API calls
  • Chat widgets (Intercom, Drift, Zendesk) load 5–15 external scripts

Solutions:

YouTube — use a facade: Show a static thumbnail image instead of the full embed. Load the actual embed only when the user clicks play. This reduces YouTube's 10+ requests to a single image request until interaction. WP Rocket has this built in: Media → LazyLoad iframes. Or use WP YouTube Lyte (free plugin).

Google Maps — use a static map: For simple address/location displays, use a static map image from the Google Maps Static API instead of the interactive embed. One image request vs. 12 dynamic requests.

Social widgets — replace with links: Static share buttons (links to Twitter, Facebook with your URL pre-filled) require zero external requests.

Chat widgets — load on interaction: Configure your chat widget to load only when the visitor shows intent (mouse movement, scroll threshold, or explicit click) rather than on page load.

08
Leverage Browser Caching

While browser caching doesn't reduce the number of requests on a first visit, it eliminates requests on repeat visits. When static files (CSS, JS, images, fonts) are cached by the visitor's browser with long expiry times, they don't need to be re-downloaded on subsequent pages or visits.

Set cache headers via .htaccess:

Apache
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType image/webp "access plus 1 year"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType application/javascript "access plus 1 month"
    ExpiresByType font/woff2 "access plus 1 year"
</IfModule>

Most caching plugins (WP Rocket, W3 Total Cache, WP Super Cache) configure browser caching automatically — check your plugin settings to ensure it's enabled.

HTTP Request Reduction Checklist

Work through these in order for maximum impact:

  • Audit total requests with GTmetrix
  • Enable CSS minification and combining (Autoptimize or WP Rocket)
  • Enable JavaScript minification (combine with caution)
  • Disable plugin assets on pages that don't need them (Asset CleanUp)
  • Remove unused or redundant plugins
  • Self-host Google Fonts (OMGF plugin)
  • Self-host Google Analytics (CAOS plugin)
  • Replace YouTube embeds with facades (WP Rocket or WP YouTube Lyte)
  • Replace Google Maps interactive embed with static map
  • Audit and remove unnecessary social and chat widgets
  • Enable browser caching (via caching plugin or .htaccess)
  • Re-audit with GTmetrix and compare request count

Frequently Asked Questions

Q: What is a good number of HTTP requests for a WordPress site?
A: Under 50 requests is a good target for most WordPress sites. Under 30 is excellent. Over 80–100 is a clear performance problem. The number matters less than the total size and the render-blocking impact — but fewer requests is always better.
Q: Does HTTP/2 mean I don't need to combine files anymore?
A: HTTP/2 multiplexing reduces (but doesn't eliminate) the overhead of multiple connections. Combining files still reduces total bytes transferred and eliminates duplicate headers. On HTTP/2 servers, combining very large numbers of small files matters less than combining medium-sized ones, but it still improves performance.
Q: Will combining CSS and JS files break my WordPress site?
A: It can, in some cases. JS combining is more risky than CSS combining — some scripts need to load in a specific order. Always test immediately after enabling combining. If something breaks, use the exclusion list to keep problematic files separate while combining the rest.
Q: How do I know which plugin is loading which scripts?
A: Use the Query Monitor plugin or Asset CleanUp — both show you exactly which plugin or theme is responsible for each CSS and JS file being loaded on the page.

Final Thoughts

Reducing HTTP requests is a foundational WordPress performance technique. Unlike hosting upgrades or major architectural changes, most of these optimisations can be implemented in an afternoon using free plugins — and the results show up immediately in your GTmetrix and PageSpeed scores.

Start with the biggest wins: combine your CSS and JavaScript files, self-host Google Fonts, replace YouTube embeds with facades, and audit your plugins for unnecessary assets. These four changes alone typically reduce request counts by 30–50% on an average WordPress site.

Need a full HTTP request audit and optimisation for your WordPress site? Our performance team handles this as part of every speed optimisation project.

Contact us today
Views: 82