Use webp images for faster load of pages
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 15
- Forks
- 22
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 9
Description
webp images having 85% of jpg images size.
Vitepress supporting webp images without any fallback for support of older browsers. But support of browsers in 2025 is like 🟢 , check https://caniuse.com/?search=webp . We are not having internet explorer in browsers list in analytics and there is some Safari 16 which started support in 20222.
We can use several possibilities to convert images:
Cwebp
download here as archive https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html
copy /bin/cwebp to /usr/local/bin
cwebp image.jpg -o image.webp
Or some web solution.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the docs repository for JPG image assets and references, then confirm which pages are in scope for the VitePress documentation. Review the cwebp conversion approach mentioned in the issue. Done means the selected images are converted, references still resolve, and the affected pages load correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vite
- Domain
- documentation, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100