nic-chen commented on pull request #2171:
URL: https://github.com/apache/apisix-dashboard/pull/2171#issuecomment-942893568


   > > hi, @nic-6443 which file is so large?
   > 
   > The front-end static files from the `/usr/local/apisix-dashboard/html/` 
directory. The largest file (`p__Route__Create.8a1b69b7.async.js`) has 2.1M. 
Under the current 5s timeout setting, this The transmission speed of the 
network is required to reach 430K/s, otherwise the file will fail to download.
   > 
   > 
![image](https://user-images.githubusercontent.com/22141303/137233685-f583b490-7d02-40fb-ab66-ae04da3c7b5b.png)
 When users deploy Dashboard on a public cloud, this problem will be easily 
triggered.
   
   hi, @bzp2010 
   Could we optimize the size of these files? 
   I remember there was a saying before, that a single file should be 
controlled within 100k to ensure user experience. 
   The internet speed is relatively high now, but a single file should not be 
that large.
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to