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

Feat/image optimization #8

Closed
wants to merge 7 commits into from
Closed

Conversation

DimaDemchenko
Copy link
Contributor

No description provided.

Copy link
Member

@mrlika mrlika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Astro has abilities to do image optimizations automatically: https://docs.astro.build/en/guides/images/

It should be able to generate from an image multiple formats

I think that the most optimal way is to render <picture>:

And in this way we can have WebP variant for modern browsers and AVIF for the most modern ones.

@mrlika mrlika deleted the feat/image-optimization branch February 12, 2024 13:43
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

Successfully merging this pull request may close these issues.

2 participants