You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/24 16:46:15 UTC

[GitHub] [apisix-dashboard] bisakhmondal opened a new issue #1917: Reduce generated web build by Load on Demand

bisakhmondal opened a new issue #1917:
URL: https://github.com/apache/apisix-dashboard/issues/1917


   # Feature request
   Currently, the build assets of Dashboard web is getting larger day by day. During web build, a friendly warning is popping up from umijs. This might eventually hurt the user experience of Dashboard web during the first visit.
   ![image](https://user-images.githubusercontent.com/41498427/119378942-75327480-bcdc-11eb-97a6-a9b3657e59f8.png)
   
   Currently the size of the built assets is 
   ```shell
   $ du -sh output/html/
   19M	output/html/
   ```
   for branch [release/2.6.1](https://github.com/apache/apisix-dashboard/tree/release/2.6.1)
   
   ## Please describe your feature
   
   The suggestion from umijs is the dynamic splitting of dependencies and load component on demand, as described in this [link](https://umijs.org/docs/load-on-demand).
   How about giving it a try?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] liuxiran commented on issue #1917: Reduce generated web build by Load on Demand

Posted by GitBox <gi...@apache.org>.
liuxiran commented on issue #1917:
URL: https://github.com/apache/apisix-dashboard/issues/1917#issuecomment-847478998


   Nice catch, agree +1, that is also part of the front-end optimization, which will bring better user experience


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] iamayushdas commented on issue #1917: Reduce generated web build by Load on Demand

Posted by GitBox <gi...@apache.org>.
iamayushdas commented on issue #1917:
URL: https://github.com/apache/apisix-dashboard/issues/1917#issuecomment-847502354


   Agree +1 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org