Augie-Environmental-Studies / gardens

🌻 Augie Gardens website.
https://augie-environmental-studies.github.io/gardens
MIT License
0 stars 1 forks source link

Compress png images to webp #9

Closed soobinrho closed 2 years ago

soobinrho commented 2 years ago

First, use tinyPNG and then convert to webp for faster loading.

soobinrho commented 2 years ago

The background picture was compressed to webp successfully, but we decided not to convert social-preview.jpg into a webp due to compatibility concerns. We don't know for sure that webp will break, but we didn't have to take the risk since the gain we get from the webp is less than 200kb in this case.