| With the rapid development of Web front-end technology,front-end pages continue to present more colorful effects,and the data and functions they carry become more complex and diverse.Vue.js is a mainstream Web front-end development technology,and a large number of systems are developed based on it.However,these systems have varying degrees of front-end performance bottlenecks,which directly affect the user experience and business results.Therefore,the research on Web front-end performance optimization technology is particularly important.This thesis focuses on the research of Web front-end performance optimization technology and the development of detection tools.The main contents are as follows:(1)This thesis summarizes the development history of Web front-end,the content of Web front-end,and the importance of performance optimization.It analyzes the relevant principles of front-end performance optimization such as the lifecycle of Web front-end pages,request and response mechanisms,and performance evaluation models,and summarizes the main factors that affect front-end performance.(2)In view of the main factors affecting the performance of Web front-end,this thesis proposes strategies and methods to achieve Web front-end performance optimization from five aspects: resource loading optimization,instruction selection optimization,construction optimization,rendering optimization and cache optimization.(3)A Web front-end performance issue detection tool has been designed and developed to address potential performance issues in front-end projects.By defining the characteristics of performance issues and improving the pattern string matching algorithm to quickly and accurately detect and locate performance issues,the experimental results show that the improved algorithm effectively improves the average performance of the matching algorithm,and the detection tool can well find potential performance issues in front-end code.(4)The strategies and methods of Web front-end performance optimization studied and the front-end performance problem detection tools developed are applied to a practical Web system in this thesis.Firstly,the Web system(advanced planning and scheduling system)developed for local intelligent manufacturing enterprises is summarized.Then,the performance problem detection tool developed by ourselves is used to detect the front-end code and find out the possible performance problems.Then,combined with the Web frontend performance optimization technology studied above,the performance optimization scheme is determined to improve these problems.Finally,the performance optimization effect is analyzed.The results show that the technique and tool studied in this thesis are reliable and effective,and the system performance is improved successfully. |