Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid render-blocking with Algolia CSS #991

Merged

Conversation

samford
Copy link
Member

@samford samford commented Sep 9, 2023

The Algolia CSS only applies to the search box (which renders dynamically), so we can safely defer it. This resolves the "Eliminate render-blocking resources" item in PageSpeed Insights and Lighthouse.

The Algolia CSS only applies to the search box (which renders
dynamically), so we can safely defer it. This resolves the "Eliminate
render-blocking resources" item in PageSpeed Insights and Lighthouse.
@SMillerDev
Copy link
Member

Can we make those checks part of CI?

@samford
Copy link
Member Author

samford commented Sep 11, 2023

Can we make those checks part of CI?

I believe it's technically possible (e.g., https://github.com/GoogleChrome/lighthouse-ci) but may require quite a bit of work. I'm primarily focused on resolving our current issues at the moment and was planning to look into adding some additional validation/linting/etc. to CI sometime after.

@MikeMcQuaid
Copy link
Member

I'm primarily focused on resolving our current issues at the moment and was planning to look into adding some additional validation/linting/etc. to CI sometime after.

I appreciate the intent here but: without adding CI as we go along they are likely to regress.

@MikeMcQuaid
Copy link
Member

Thanks @samford!

@MikeMcQuaid MikeMcQuaid merged commit 4108298 into Homebrew:master Sep 11, 2023
3 checks passed
@samford samford deleted the eliminate-render-blocking-resources branch September 11, 2023 16:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants