Find us at BrightonSEO 25/26 April - STAND 18! Fill your swag bag!

Dealing with Page Speed issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free

This Hint has been deprecated, and we no longer consider it best practice. In order to get the most accurate audit results from Sitebulb, please ensure you update to the latest version.

High This Hint is very important, and definitely warrants attention. Issue This Hint represents an error or problem that needs to be fixed.

Keep-alive not set on page resources that are used multiple times

This means that the URL in question is a resource URL, such as images or JavaScript files, that closes the connection and does not use keep-alive in the HTTP header.

Why is this important?

Enabling HTTP Keep-Alive or HTTP persistent connections allow the same TCP connection to send and receive multiple HTTP requests, thus reducing the latency for subsequent requests. Page resources that close the connection and do not use keep-alive in the HTTP header. If you have multiple requests to the same domain, you can use keep-alive headers so the connection is not closed until all the requests are made.

What does the Hint check?

This Hint will trigger for any internal resource URL that does not set a keep-alive header, or sets the connection to 'close'.

Examples that trigger this Hint:

Resource file URLs without a keep-alive header, and the connection set to 'close':

HTTP/... 200 OK

...
Content-Type => image/png
...
Connection => close

How do you resolve this issue?

There is basically no downside to enabling keep-alive, and on most web-servers it is actually enabled by default. This guide explains the details of setting keep alive up different servers. 

Further Reading

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.