Measurement and Optimization of Browser Cache Performance for Mobile Web Applications
Author:
Affiliation:

Fund Project:

China Postdoctoral Science Foundation

  • Article
  • | |
  • Metrics
  • |
  • Reference [23]
  • |
  • Related
  • |
  • Cited by
  • | |
  • Comments
    Abstract:

    With the rapid development of the mobile Internet, users are increasingly accessing Web applications through mobile devices. Browsers provide the runtime support for Web applications, such as computation and rendering. The browser cache supports Web applications to obtain reusable resources directly from the local storage rather than downloading from the network. It not only improves the application loading speed, but also reduces network traffic usage and battery power consumption, ensuring the experience of mobile Web users. In recent years, attentions have been paid by both industry and academy on optimizing the browser cache performance of mobile Web applications. However, most of the existing research work focuses on the overall performance of the browser cache from the network level, and does not fully consider the impact of user access behaviors and application evolution on the performance of the browser cache. To address the issue, this study designs a proactive measurement experiment, which simulates the user access behavior and obtains the resources of the mobile Web applications. Experiment results reveal the huge gap between the ideal and actual performance of the browser cache, and dig out three main root causes to the gap:Resource aliases, heuristic caching strategies, and conservative cache time configuration. Based on the findings, in order to improve the browser cache performance of mobile Web applications, this study also proposes two optimization methods from the application layer and the platform layer, respectively, and implements the corresponding prototype systems. Evaluation results show that the two proposed methods can save the network traffic by 8%~51% and 4%~58% on average, respectively, and the system overhead is small.

    Reference
    [1] ComSore. Mobile Internet usage Skyrockets in past 4 years to overtake desktop as most used digital platform. https://www.comscore.com/Insights/Blog/Mobile-Internet-Usage-Skyrockets-in-Past-4-Years-to-Overtake-Desktop-as-Most-Used-Digital-Platform
    [2] Huang G, Liu X, Zhang Y. A mobile Web application platform with synergy of cloud and client. SCIENCE CHINA Information Sciences, 2013,(1):24-44(in Chinese with English abstract).
    [3] Serrano N, Hernantes J, Gallardo G. Mobile Web apps. IEEE Software, 2013,30(5):22-27.
    [4] Wang X, Balasubramanian A, Krishnamurthy A, Wetherall D. Demystifying page load performance with Wprof. In:Proc. of the 10th USENIX Conf. on Networked Systems Design and Implementation (NSDI 2013). 2013. 473-486.
    [5] Li D, Hao S, Gui J, William H. An empirical study of the energy consumption of Android applications. In:Proc. of the 30th IEEE Int'l Conf. on Software Maintenance and Evolution (ICSME 2014). 2014. 121-130.
    [6] Alexa. http://www.alexa.com/
    [7] RFC 2616. http://www.w3.org/Protocols/rfc2616/rfc2616.txt
    [8] Zhang T. Solving large scale linear prediction problems using stochastic gradient descent algorithms. In:Proc. of the 21st Int'l Conf. on Machine Learning (ICML 2004). 2004. 919-926.
    [9] Application cache. https://www.w3.org/TR/html5/browsers.html#offline
    [10] Wang J. A survey of Web caching schemes for the Internet. ACM SIGCOMM Computer Communication Review, 1999,29(5):36-46.
    [11] Barish G, Obraczke K. World Wide Web caching:Trends and techniques. IEEE Communications Magazine, 2000,38(5):178-184.
    [12] Wang Z, Lin X, Zhong L, Chishtie M. How far can client-only solutions go for mobile browser speed? In:Proc. of the 21st Int'l Conf. on World Wide Web (WWW 2012). 2012. 31-40.
    [13] Qian F, Quah KS, Huang J, Erman J, Gerber A, Mao Z, Sen S, Spatscheck O. Web caching on smartphones:Ideal vs. reality. In:Proc. of the 10th Int'l Conf. on Mobile Systems, Applications, and Services (MobiSys 2012). 2012. 127-140.
    [14] Qian F, Sen S, Spatscheck O. Characterizing resource usage for mobile Web browsing. In:Proc. of the 12th Int'l Conf. on Mobile Systems, Applications, and Services (MobiSys 2014). 2014. 218-231.
    [15] Wang X, Krishnamurthy A, Wetherall D. How much can we micro-cache Web pages? In:Proc. of the 2014 Conf. on Internet Measurement (IMC 2014). 2014. 249-256.
    [16] Zhang Y, Tan C, Qun L. CacheKeeper:A system-wide Web caching service for smartphones. In:Proc. of the 2013 ACM Int'l Joint Conf. on Pervasive and Ubiquitous Computing (UbiComp 2013). 2013. 265-274.
    [17] Lymberopoulos D, Riva O, Strauss K, Mittal A, Ntoulas A. PocketWeb:Instant Web browsing for mobile devices. In:Proc. of the 17th Int'l Conf. on Architectural Support for Programming Languages and Operating System (ASPLOS 2012). 2012. 1-12.
    [18] Butkiewicz M, Wang D, Wu Z, Madhyastha HV, Sekar V. KLOTSKI:Reprioritizing Web content to improve user experience on mobile devices. In:Proc. of the 12th USENIX Symp. on Networked Systems Design and Implementation (NSDI 2015). 2015. 439-453.
    [19] Baumann P, Santini S. Every byte counts:Selective prefetching for mobile applications. In:Proc. of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies (IMWUT). 2017,1(2):6:1-6:29.
    [20] Pande N, Somani A, Samal SP, Kakkirala V. Enhanced Web application and browsing performance through service-worker infusion framework. In:Proc. of the 2018 IEEE Int'l Conf. on Web Services (ICWS 2018). 2018. 195-202.
    [21] Netravali R, Mickens J. Remote-control caching:Proxy-based URL rewriting to decrease mobile browsing bandwidth. In:Proc. of the 19th Int'l Workshop on Mobile Computing Systems & Applications (HotMobile 2018). 2018. 63-68.
    附中文参考文献:
    [2] 黄罡,刘譞哲,张颖.面向云-端融合的移动互联网应用运行平台.中国科学:信息科学,2013,(1):24-44.
    Related
    Cited by
    Comments
    Comments
    分享到微博
    Submit
Get Citation

马郓,刘譞哲,梅宏.面向移动Web应用的浏览器缓存性能度量与优化.软件学报,2020,31(7):1980-1996

Copy
Share
Article Metrics
  • Abstract:1817
  • PDF: 3616
  • HTML: 1573
  • Cited by: 0
History
  • Received:March 17,2019
  • Revised:July 04,2019
  • Online: July 11,2020
  • Published: July 06,2020
You are the first2032455Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063