Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Serve webp images when possible#5

Open
nathanielwarner wants to merge 1 commit intocarleton:masterfrom
nathanielwarner:feature/webp-support
Open

Serve webp images when possible#5
nathanielwarner wants to merge 1 commit intocarleton:masterfrom
nathanielwarner:feature/webp-support

Conversation

@nathanielwarner
Copy link

According to Google's documentation as well as my own testing, using webp images saves around 30% on file size. To implement this, I check the request headers to see if webp is accepted by the browser. If so, 'webp' is set to true on the arguments for tachyon.s3().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant