Jawa: Web Archival in the Era of JavaScript
Ayush Goel, Jingyuan Zhu, Ravi Netravali, Harsha V. Madhyastha
Abstract
By repeatedly crawling and saving web pages over time, web archives (such as the Internet Archive) enable users to visit historical versions of any page. In this paper, we point out that existing web archives are not well designed to cope with the widespread presence of JavaScript on the web. Some archives store petabytes of JavaScript code, and yet many pages render incorrectly when users load them. Other archives which store the end-state of page loads (e.g., screen captures) break post-load interactions implemented in JavaScript.
To address these problems, we present Jawa, a new design for web archives which significantly reduces the storage necessary to save modern web pages while also improving the fidelity with which archived pages are served. Key to enabling Jawa's use at scale are our observations on a) the forms of non-determinism which impair the execution of JavaScript on archived pages, and b) the ways in which JavaScript's execution fundamentally differs between live web pages and their archived copies. On a corpus of 1 million archived pages, Jawa reduces overall storage needs by 41%, when compared to the techniques currently used by the Internet Archive.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 08c5fa4f-4a85-432a-b684-8f00621fc444Cited by top-tier papers1
Ask how each one uses itBuilds on1
Related papers
- Rewriting History: Changing the Archived Web from the PresentAda Lerner, Tadayoshi Kohno, Franziska RoesnerCCS 2017 · 35 citations
- Detecting and Diagnosing Errors in Serving Archived Web PagesJingyuan Zhu, Huanchen Sun, Harsha V. MadhyasthaNSDI 2026
- You Call This Archaeology? Evaluating Web Archives for Reproducible Web Security MeasurementsFlorian Hantke, Stefano Calzavara, Moritz Wilhelm, Alvise Rabitti et al.CCS 2023 · 4 citations
- JSCleaner: De-Cluttering Mobile Webpages Through JavaScript CleanupMoumena Chaqfeh, Yasir Zaki, Jacinta Hu, Lakshmi SubramanianWWW 2020 · 33 citations
- Horcrux: Automatic JavaScript Parallelism for Resource-Efficient Web ComputationShaghayegh Mardani, Ayush Goel, Ronny Ko, Harsha V. Madhyastha et al.OSDI 2021 · 9 citations
