Keep request counts low and transfer sizes small
This Diagnostic audit doesn’t directly affect the website score on PageSpeed, as all the Diagnostics audits, but taking care of these aspects may improve other Performance metrics.
A “request” refers to the resources (files) used to render a web page, and “transfer sizes” refers to the size of these resources.
This audit lists the total number of requests and transfer size of scripts, images, etc. It’s not structured as a “pass” or “fail” audit. It provides information that can be used to improve the page load performance. This means, that the fact that this list is in the PageSpeed report doesn’t mean that the website is necessarily making too many requests or that it has a big size, but is very valuable information to improve the performance of the website. Also, keep in mind that according to PageSpeed you should “aim to keep your total byte size below 1,600 KiB", this information would be really useful to reach this goal.
In the list you can see the number of requests by file type and the size of all those requests. With many sites running HTTP/2, the size is more important than the number of requests.
The Third-party column does not consider the values listed in the total. The main purpose of this column is to show how many requests and transfers come from external domains and these can be a combination of all types of resources (scripts, images, stylesheets, etc.)
How can WP Rocket help to keep request counts low and transfer sizes small?
Enabling the following options can help to reduce the number of requests and transfer sizes small:
- Minify CSS
- Combine CSS
- Google fonts optimization (WP Rocket has this option enabled by default)
Other practices that can help you to keep request counts low and transfer sizes small
- Optimize images
- Avoid an excessive DOM size
- Replace GIFs with videos
- Avoid multiple page redirects
- Combining images using CSS sprites
- Removing unwanted third-party scripts
- Taking care of these recommendations also help to avoid enormous network payloads