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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds 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
