Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.
This repository was archived by the owner on May 16, 2024. It is now read-only.

Coach counts Link Preload stylesheet as render blocking #296

@mendaomn

Description

@mendaomn

According to my tests, the coach counts as render blocking a stylesheet loaded with Link Preload

To reproduce:

docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:7.4.0 https://www.westwingsolutions.com/ -b chrome -n1

On that page, the resource /static/styles/home.later.css is loaded as follows:

<link rel="preload" as="style" href="/static/styles/home.later.css" onload="this.rel='stylesheet'">

To my knowledge, this shouldn't count as a render blocking CSS resource

I think one could either call a different function here: fastRender.js:7

Or maybe add a .filter here: fastRender.js:44

Hope this helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions