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

Consider using the sharp image service instead of passthroughImageService #20

Open
Greenheart opened this issue Oct 19, 2024 · 0 comments
Assignees

Comments

@Greenheart
Copy link
Collaborator

Greenheart commented Oct 19, 2024

This would improve page load time, especially on mobile networks.

I can see this was added recently. Let me know if there's another reason behind this change that I don't know about :)
https://github.com/paccao/allerthsbageri.se/blame/010054e2a1bb8a1dafcbf060232103c1b5ea331b/astro.config.js#L10

If we want to use sharp, we can remove the image: { service: passthroughImageService() } from astro.config.js. That will enable sharp which is the default image service.

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

2 participants