skip to main content
10.1145/1772690.1772741acmotherconferencesArticle/Chapter ViewAbstractPublication PagesthewebconfConference Proceedingsconference-collections
research-article

Smart caching for web browsers

Published: 26 April 2010 Publication History

Abstract

This paper presents smart caching schemes for Web browsers. For modern Web applications, the style formatting and layout calculation often account for substantial amounts of the local computation in order to render a Web page. In this paper, we propose two caching schemes to reduce the computation of style formatting and layout calculation, named smart style caching and layout caching, respectively. The stable style data and layout data for DOM (Document Object Model) elements are recorded to construct the caches when a Web page is browsed. The cached data is checked in the granularity of DOM elements and applied directly if the identified DOM element is not changed in the sequent visits to the same page.
We have implemented a prototype of the proposed caching schemes based on the Webkit layout engine. The experimental results with Web pages from the Top 25 Web sites show that, with the smart style caching scheme enabled, the time consumed for style formatting is reduced by 64% on average; with both the smart style caching scheme and layout caching scheme enabled, the time consumed for layout calculation are reduced by 61% on average, and the overall performance improvement is about 46%.

References

[1]
Microsoft Corp. Bing Maps. http://www.bing.com/maps.
[2]
Google Inc. Google Docs. http://docs.google.com/.
[3]
Jones, C. G., Liu, R., Meyerovich, L., Asanovic, K., and Bodik, R. 2009. Parallelizing the Web browser, 1st USENIX Workshop on Hot Topics in Parallelism (Mar. 30-31, 2009).
[4]
IE 8 Performance. http://blogs.msdn.com/ie/archive/2008/08/26/ie8-performance.aspx.
[5]
The Webkit Open Source Project. http://webkit.org/.
[6]
Cascading Style Sheets 2.1. http://www.w3.org/TR/CSS2/.
[7]
W3C. Document Object Model (DOM). http://www.w3.org/DOM/
[8]
Reflows & Repaints: CSS performance making your JavaScript slow. http://www.stubbornella.org/content/2009/03/27/reflows-repaints-css-performance-making-your-javascript-slow/.
[9]
Wilton-Jones, M. Efficient JavaScript. http://dev.opera.com/articles/view/efficient-javascript/.
[10]
Baron, D. Faster HTML and CSS: layout engine internals for web developers, https://library.mozilla.org/Faster_HTML_and_CSS:_Layout_Engine_Internals_for_Web_Developers.
[11]
HTML Reflow, http://www.mozilla.org/newlayout/doc/reflow.html.
[12]
W3C standards. http://www.w3.org/standards/.
[13]
GNU WGet, http://www.gnu.org/software/wget/
[14]
Squid Web Caching Proxy, http://www.squid-cache.org/
[15]
V8 JavaScript Engine, http://code.google.com/apis/v8/design.html
[16]
Best Practices for Speeding Up Your Web Site, http://developer.yahoo.com/performance/rules.html
[17]
JavaScript: TraceMonkey, https://wiki.mozilla.org/JavaScript:TraceMonkey
[18]
SquirrelFish-Webkit, http://trac.webkit.org/wiki/SquirrelFish
[19]
Opera Mini homepage, http://www.opera.com/mini/

Cited By

View all
  • (2024)TEMPO DE CARREGAMENTO DE INTERFACES GRÁFICAS EM AMBIENTE WEB COM JAVASCRIPT E TYPESCRIPT: UMA ANÁLISE COMPARATIVA ENTRE REACT, VUE.JS E HTMLRevista Gestão e Conhecimento10.55908/RGCV18N1-00218:1(e313)Online publication date: 26-Mar-2024
  • (2022)Dataset column: Datasets for online multimedia verificationACM SIGMultimedia Records10.1145/3524460.352446811:3(1-1)Online publication date: 8-Mar-2022
  • (2022)When Third-Party JavaScript Meets Cache: Explosively Amplifying Security Risks on the Internet2022 IEEE Conference on Communications and Network Security (CNS)10.1109/CNS56114.2022.9947247(290-298)Online publication date: 3-Oct-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
WWW '10: Proceedings of the 19th international conference on World wide web
April 2010
1407 pages
ISBN:9781605587998
DOI:10.1145/1772690

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 26 April 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. browser
  2. caching
  3. cascade style sheet
  4. css
  5. javascript
  6. web

Qualifiers

  • Research-article

Conference

WWW '10
WWW '10: The 19th International World Wide Web Conference
April 26 - 30, 2010
North Carolina, Raleigh, USA

Acceptance Rates

Overall Acceptance Rate 1,899 of 8,196 submissions, 23%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)13
  • Downloads (Last 6 weeks)2
Reflects downloads up to 17 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)TEMPO DE CARREGAMENTO DE INTERFACES GRÁFICAS EM AMBIENTE WEB COM JAVASCRIPT E TYPESCRIPT: UMA ANÁLISE COMPARATIVA ENTRE REACT, VUE.JS E HTMLRevista Gestão e Conhecimento10.55908/RGCV18N1-00218:1(e313)Online publication date: 26-Mar-2024
  • (2022)Dataset column: Datasets for online multimedia verificationACM SIGMultimedia Records10.1145/3524460.352446811:3(1-1)Online publication date: 8-Mar-2022
  • (2022)When Third-Party JavaScript Meets Cache: Explosively Amplifying Security Risks on the Internet2022 IEEE Conference on Communications and Network Security (CNS)10.1109/CNS56114.2022.9947247(290-298)Online publication date: 3-Oct-2022
  • (2021)3 Stars on Yelp, 4 Stars on Google MapsProceedings of the ACM on Human-Computer Interaction10.1145/34329534:CSCW3(1-25)Online publication date: 5-Jan-2021
  • (2021)An Exponential Factorization Machine with Percentage Error Minimization to Retail Sales ForecastingACM Transactions on Knowledge Discovery from Data10.1145/342623815:2(1-32)Online publication date: 4-Jan-2021
  • (2020)Energy wars - Chrome vs. FirefoxProceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering10.1145/3417113.3423000(159-165)Online publication date: 21-Sep-2020
  • (2020)Glossy probe reprojection for interactive global illuminationACM Transactions on Graphics10.1145/3414685.341782339:6(1-16)Online publication date: 27-Nov-2020
  • (2020)Complementary dynamicsACM Transactions on Graphics10.1145/3414685.341781939:6(1-11)Online publication date: 27-Nov-2020
  • (2020)Adversarial Examples on Object RecognitionACM Computing Surveys10.1145/339839453:3(1-38)Online publication date: 12-Jun-2020
  • (2019)Load Balancing GuardrailsProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/3341617.33261573:2(1-31)Online publication date: 19-Jun-2019
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

EPUB

View this article in ePub.

ePub

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media