Skip to content

Conversation

@jderochervlk
Copy link
Collaborator

@jderochervlk jderochervlk commented Nov 26, 2025

This pull request introduces AVIF image format support and migrates existing blog post images from JPEG and PNG formats to AVIF for improved performance and modern web standards. It also adds a configuration file for an image conversion tool and updates all relevant image references in markdown files.

Key changes:

Image optimization and migration:

Tool configuration:

  • Added a new image-converter.config.mjs file to configure the image conversion process, specifying AVIF as the output format, quality settings, recursive directory scanning, and removal of original files after conversion.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 26, 2025

Deploying rescript-lang-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8f133d5
Status: ✅  Deploy successful!
Preview URL: https://423e07c7.rescript-lang.pages.dev
Branch Preview URL: https://perf-avif-images.rescript-lang.pages.dev

View logs

@jderochervlk jderochervlk marked this pull request as ready for review November 26, 2025 02:48
@fhammerschmidt
Copy link
Member

Is browser support for avif good enough already? Webp seems to have a little more widespread support for exotic browsers.

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.

3 participants