Does the Vue+axios+hibernate request API take too long to solve?

1. Recently, Android App opened a mall in the form of a Vue page through webview. It was particularly slow to open for the first time, and has been troubleshooting what caused it. It was found that one of the interfaces that load the list of products, the TTFB time is between 1.6s-2.5s.
2. This is what Vue found in the local test.
clipboard.png
3. I hope God can answer it from two aspects: optimizing the initial loading time of Vue and the network request, because now I don"t know whether it is the front-end problem or the background code problem!?

Jun.28,2022
The

page uses the dist packaged with webpack so that the file resources are smaller. Remove the js.map file through configuration. I can only analyze it for you from here.


it takes less than 1ms to request and accept. This is a problem with the back end of the interface, not with the front end.

Menu