Replies: 2 comments 6 replies
-
We don't have to worry about those limits :) Which is kinda nice (the rest of your story still holds though!) For the time to build, I can see why that is less nice, however, I think it is actually pretty nice we spent that time upfront instead of after installation? The "the download/decompress phase for users", isn't a real factor here, as we do that in our resulting Docker images already, so 96% of the users aren't affected by that. It does make me wonder, if the webserver of HA should just handle it on the fly (with a caching mechanism) |
Beta Was this translation helpful? Give feedback.
-
I should have also put in the OP that this proposal stems from discussion with @balloob and @bramkragten back in home-assistant/frontend#15663. Source maps are left uncompressed mainly because of the 60MB limit (and whether they are or aren't is obviously not as important as the actual sources). |
Beta Was this translation helpful? Give feedback.
-
The frontend wheel is currently approaching 50 MB; however, the actual size should be about half that because it packages both compressed and uncompressed versions of nearly every file. This creates wasted time on both the build/upload phase for releases, and the download/decompress phase for users. I believe the pyPI size limit is also still 60MB, so we may start flirting with that issue too.
My proposal is pretty simple:
Beta Was this translation helpful? Give feedback.
All reactions