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

Preload #199

Open
collimarco opened this issue Oct 28, 2020 · 0 comments
Open

Preload #199

collimarco opened this issue Oct 28, 2020 · 0 comments

Comments

@collimarco
Copy link

I have tested a website that uses this gem with Google PageSpeed.

I get this recommendation:

Preload key requests
Consider using `<link rel=preload>` to prioritize fetching resources that are currently requested later in page load. 
…font-awesome/fa-solid-900-eb98716….woff2

Rails offers preload_link_tag for normal assets... but it's not clear if we can use it to preload assets of this gem.

Any idea?

Probably this gem should include a method like preload_fa_tag. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant