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.

Medium This Hint is worth investigating further, and may warrant further attention depending on the type and quantity of URLs affected. Issue This Hint represents an error or problem that needs to be fixed.

Stylesheet is loaded in with media='print'

This means that the URL in question loads in a specific stylesheet just for printing. 

Why is this important?

This requires the browser to load the printing stylesheet, even if it is not going to be used.

Modern browsers will recognise that the file is not required to render the page, so it will not download it in a manner that blocks rendering, but it will still download the file when it may not actually be required.

What does the Hint check?

This Hint will trigger for any internal URL which contains a <link> element calling a specific 'print' stylesheet.

Examples that trigger this Hint:

The Hint would trigger for any URL with a separate 'print' style sheet called in the HTML:

<link href="/print.css" rel="stylesheet" media="print" type="text/css" />

How do you resolve this issue?

These styles should be moved to a @media print query in your main CSS (at the bottom), to avoid the additional request necessary to download the separate 'print' stylesheet.

Further Reading

Free 14 day trial.
Full, unrestricted access.
No credit card required.

Try Sitebulb for Free