azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.1k stars 112 forks source link

Cosmos optimizations #156

Closed Kawanaao closed 5 months ago

Kawanaao commented 9 months ago

Pull, so far only in the work stage

In this pull request, I plan to optimize the page loading speed as much as possible by optimizing bundles

Bundler Previous Full Size Current Full Size Previous Max File Size Current Max File Size
WebPack 5.6 MiB 4.2 MiB 4.1 MiB 3.3 MiB
Vite 4.3 MiB 4.7 MiB 3.3 MiB 3.7 MiB

I think that there are errors in this measurement, since there are additional installed libraries that affect the size of both WebPack and Vite, but they are related to WebPack and are necessary for debugging, so it is quite problematic to exclude them from the final sizes

cla-bot[bot] commented 8 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

cla-bot[bot] commented 7 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

cla-bot[bot] commented 7 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.

cla-bot[bot] commented 7 months ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.