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

Auto inline small images #381

Open
marcfilleul opened this issue Apr 24, 2019 · 0 comments
Open

Auto inline small images #381

marcfilleul opened this issue Apr 24, 2019 · 0 comments
Assignees
Labels
feature request New feature or request

Comments

@marcfilleul
Copy link

Summary

Nuxt by default turn images < 1ko into inline images.
We can also modify the image size treshold.

It’s the url-loader that takes care of that:

url-loader allows you to conditionally inline a file as base-64 data URL if they are smaller than a given threshold. This can reduce a number of HTTP requests for trivial files. If the file is larger than the threshold, it automatically falls back to file-loader.

It would be great to have this in Gridsome too.

@robaxelsen robaxelsen added the feature request New feature or request label Apr 27, 2019
@hjvedvik hjvedvik added this to the v0.7.0 milestone May 11, 2019
@tomtev tomtev added this to To prioritize in Gridsome Roadmap via automation May 20, 2019
@tomtev tomtev moved this from To prioritize to Prioritized in Gridsome Roadmap May 23, 2019
@tomtev tomtev removed this from the v0.7.0 milestone Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
Gridsome Roadmap
Prioritized
Development

No branches or pull requests

4 participants