Modern HTTP
Google's Modern HTTP is a performance insight about the web protocol used by your site assets.
Currently, it's only available on Lighthouse tests, and not on PageSpeed tests.
Understanding Modern HTTP
The Modern HTTP insight appears when a site is not using newer HTTP versions like HTTP/2 or HTTP/3.
These protocols are more efficient because they can handle multiple requests at once and reduce the time it takes for the assets of a page to be downloaded to the visitor's browser.
This insight is shown when many of your resources still use older protocols.
How to improve Modern HTTP
WP Rocket cannot change the HTTP protocol. Your server should use the HTTP/2 or HTTP/3 protocols to avoid seeing this insight.
Other helpful actions:
- Use Minify JavaScript files to locally host and minify external JavaScript that use old protocols.
- Activate Remove Unused CSS to remove any stylesheets served with old protocols, as the Used CSS will be put into an inline block in the page.
- Enable LazyLoad to avoid loading in the first load any images and iframes that use old protocols.
- Use a CDN such as RocketCDN or Cloudflare so static assets use modern protocols.