Font Size: a A A

Design,Implementation And Performance Optimization Of The Front-end Part In Rechargeable Shop System

Posted on:2019-04-05Degree:MasterType:Thesis
Country:ChinaCandidate:Y CuiFull Text:PDF
GTID:2428330566995762Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the mobile Internet,various applications based on the mobile platform continue to emerge to meet the needs of people in all aspects of daily life.Among them,Web applications play an irreplaceable role in the mobile Internet era because of their advantages such as lightweight,cross-platform and easy maintenance.Now that people rely more on mobile Web applications bring new challenges to mobile Web applications.Performance optimization has become the key to evaluate a mobile web application.By analyzing the work patterns of Web applications and combining the working principles of B/S architecture,browser rendering mechanism,HTTP and HTTPS protocols and HTTP caching,it is concluded that the main factor affecting the performance of front-end pages is the time consuming loading of resources.It's difficult to control the expiration time of cache accurately and resource can not be updated timely with HTTP cache mechanism,and there are meaningless 304 requests and other issues,you can use local cache and incremental updates program to optimize and improve the cache hit rate and eliminate the 304 request;HTTPS is enabled on most websites to improve page security.But,the handshake of HTTPS increase the connection time consumption.You can use the SPDY protocol and the SSL Session to improve the performance of HTTPS protocol.At the same time,in order to solve the problem of loading performance caused by the increase of home page load in SPA single page application,a scheme of using home page data and asynchronous resource loading is proposed.On this basis,we designed the system architecture of the Rechargeable store proect.Finally,the performance optimization scheme is applied to the actual project,and the performance data of page loading prove that the performance optimization scheme can improve the cache hit ratio and reduce the page loading time.The performance optimization program can greatly improve the page load speed,improve user experience.
Keywords/Search Tags:Web front-end, Online recharging shop, Performance optimization
PDF Full Text Request
Related items