# Performance and Experience

Why Performance Optimization

The relationship between the performance of Mini Programs and the user experience is inseparable. In the process of using Mini Programs, users sometimes encounter problems such as slow opening, sliding, slow response, etc. These problems are related to the performance of Mini Programs. Performance problems in the final analysis is the problem of user experience, if you can not get a good solution, will affect the normal use of users, or even quit the Mini Program.

With the iteration of Mini Programs, more and more pages, more and more complex functions, the performance of Mini Programs is becoming more and more prominent. In the process of developing Mini Programs, developers should not only pay attention to the implementation of functions, but also devote enough energy to the optimization of the performance of Mini Programs to ensure a good user experience.

How to optimize performance

Broadly speaking, the performance of Mini programs can be divided intoStartup performanceandRuntime performanceTwo themes.Startup performanceAllow users to open and see the contents of the Mini Program faster,Runtime performanceEnsure that users can use the functions of Mini programs smoothly. In addition to its own functions, the good user experience brought by good performance is also the key to the ability of Mini programs to retain users.

The framework of the Mini Program combines Web Development and client development of the technology and carried out further innovations. Therefore, some Web The performance optimization methods in development also apply to Mini programs, such as the use of caching, optimization of network requests, code compression, and so on. In addition, due to the characteristics of Mini Programs technical framework, there are some special performance optimization methods in Mini Programs development.

When tuning performance, developers can refer to the tuning guidelines in this section, as well as some debugging tools and performance data provided by Mini Programs.