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

avif support #1585

Closed
tacman opened this issue May 28, 2024 · 3 comments
Closed

avif support #1585

tacman opened this issue May 28, 2024 · 3 comments

Comments

@tacman
Copy link
Contributor

tacman commented May 28, 2024

I saw this article today about avif format today and since virtually all of my images are served through this bundle, I figured I'd at least ask if avif is supported.

https://levelup.gitconnected.com/unveiling-avif-the-next-gen-web-image-standard-forget-about-webp-e6c5857be528

Thx.

@dbu
Copy link
Member

dbu commented May 29, 2024

interesting. would be another scenario like webp where we need to detect the capability and serve a different file depending on capability. afaik the webp support has beeen a bit confusing - might be something to revisit at the same time, to generalize the concept of using different formats based on client capability (this conflicts strongly with embedding the path to the cached image into the html when the html gets cached by some http level cache - we would then need to vary on the headers used to detect the webp/avif capabilities. afaik this is not currently solved well. one option could be to use the controller path for the image, but have a flag to force returning the filesystem path along with documentation to only do this when either no http caching is allowed or a vary header on the relevant request header is configured (and document how to cleanup that request header to avoid unnecessary variants))

a first step would be to check if imagine / gd support avif or if we would need a separate tool for it. and then to expand the capabilities selection system.

i added this to the 3.0 milestone to remind us we should challenge this topic

@dbu dbu added this to the 3.0.0 milestone May 29, 2024
@hockdudu
Copy link

hockdudu commented Jun 5, 2024

There's already an issue for AVIF: #1314

@dbu
Copy link
Member

dbu commented Jun 6, 2024

@hockdudu thanks for pointing this out. i will close this ticket as duplicate of #1314

@dbu dbu closed this as completed Jun 6, 2024
@dbu dbu removed this from the 3.0.0 milestone Jun 6, 2024
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

3 participants