codeuino / codeuino/website-www.codeuino.org

Poor Performance and Audit scores

未关闭
#213 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
33
派生
73
PR 合并指标
30 天内没有已合并 PR

描述

![Screenshot from 2020-07-18 17-30-55](https://user-images.githubusercontent.com/39027928/87852130-e36c1500-c91c-11ea-9a4e-8f614664f78d.png)

Page insights and lighthouse scores are low for the website, especially for mobile.

Here are some ideas for improving this -
- Removing unused code: There is a lot of it.
- Implementing Lazy Loading.
- Exploring the bootstrap problem: We are already using `react-bootstrap` but we also import bootstrap via CDN and the entire bootstrap library is also pasted into `NewHome.css`. Simply removing the pasted bootstrap code breaks styling, maybe it has been modified. The ideal solution to this would be rewrite all jsx code to use `react-bootstrap` components instead and write custom styles to override the defaults.
- Exploring Image formats like JPEG 2000, JPEG XR or WebP which provide better compression
- Serving lower resolution images to mobile devices
- Getting rid of expensive unused or non essential dependencies

Additional Context
- Working on this.

Please feel free to share more suggestions. Thanks.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。