Systematic Analysis of Web Browser Caches

Hoai Viet Nguyen, L. Lo Iacono, H. Federrath
{"title":"Systematic Analysis of Web Browser Caches","authors":"Hoai Viet Nguyen, L. Lo Iacono, H. Federrath","doi":"10.1145/3240431.3240443","DOIUrl":null,"url":null,"abstract":"The caching of frequently requested web resources is an integral part of the web ever since. Cacheability is the main pillar for the web's scalability and an important mechanism for optimizing resource consumption and performance. Caches exist in many variations and locations on the path between web client and server with the browser cache being ubiquitous to date. Web developers need to have a profound understanding of the concepts and policies of web caching even when exploiting these advantages is not relevant. Neglecting web caching may otherwise result in more serve consequences than the simple loss of scalability and efficiency. Recent misuse of web caching systems shows to affect the application's behavior as well as privacy and security. In this paper we introduce a tool-based approach to disburden web developers while keeping them informed about caching influences. Our first contribution is a structured test suite containing 397 web caching test cases. In order to make this collection easily adoptable we introduce an automated testing tool for executing the test cases against web browsers. Based on the developed testing tool we conduct a systematic analysis on the behavior of web browser caches and their compliance with relevant caching standards. Our findings on desktop and mobile versions of Chrome, Firefox, Safari and Edge show many diversities as well as discrepancies. Appropriate tooling supports web developers in uncovering such adversities. As our baseline of test cases is specified using a specification language that enables extensibility, developers as well as administrators and researchers can systematically add and empirically explore caching properties of interest even in non-browser scenarios.","PeriodicalId":147028,"journal":{"name":"Proceedings of the 2nd International Conference on Web Studies","volume":"347 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd International Conference on Web Studies","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3240431.3240443","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

The caching of frequently requested web resources is an integral part of the web ever since. Cacheability is the main pillar for the web's scalability and an important mechanism for optimizing resource consumption and performance. Caches exist in many variations and locations on the path between web client and server with the browser cache being ubiquitous to date. Web developers need to have a profound understanding of the concepts and policies of web caching even when exploiting these advantages is not relevant. Neglecting web caching may otherwise result in more serve consequences than the simple loss of scalability and efficiency. Recent misuse of web caching systems shows to affect the application's behavior as well as privacy and security. In this paper we introduce a tool-based approach to disburden web developers while keeping them informed about caching influences. Our first contribution is a structured test suite containing 397 web caching test cases. In order to make this collection easily adoptable we introduce an automated testing tool for executing the test cases against web browsers. Based on the developed testing tool we conduct a systematic analysis on the behavior of web browser caches and their compliance with relevant caching standards. Our findings on desktop and mobile versions of Chrome, Firefox, Safari and Edge show many diversities as well as discrepancies. Appropriate tooling supports web developers in uncovering such adversities. As our baseline of test cases is specified using a specification language that enables extensibility, developers as well as administrators and researchers can systematically add and empirically explore caching properties of interest even in non-browser scenarios.
Web浏览器缓存的系统分析
缓存频繁请求的web资源从那时起就成为了web不可分割的一部分。可缓存性是web可伸缩性的主要支柱,也是优化资源消耗和性能的重要机制。缓存存在于web客户端和服务器之间的路径上的许多变化和位置,浏览器缓存到目前为止无处不在。Web开发人员需要对Web缓存的概念和策略有深刻的理解,即使利用这些优势并不相关。忽略web缓存可能会导致更多的服务后果,而不仅仅是可伸缩性和效率的损失。最近对web缓存系统的滥用不仅影响了应用程序的行为,还影响了隐私和安全。在本文中,我们介绍了一种基于工具的方法来减轻web开发人员的负担,同时让他们了解缓存的影响。我们的第一个贡献是一个包含397个web缓存测试用例的结构化测试套件。为了使这个集合易于采用,我们引入了一个自动化的测试工具,用于针对web浏览器执行测试用例。基于所开发的测试工具,我们对web浏览器缓存的行为及其对相关缓存标准的遵从性进行了系统分析。我们对Chrome、Firefox、Safari和Edge的桌面和移动版本的调查结果显示出许多差异和差异。适当的工具支持web开发人员发现这些不利因素。由于我们的测试用例基线是使用支持可扩展性的规范语言指定的,开发人员、管理员和研究人员甚至可以在非浏览器场景中系统地添加和经验地探索感兴趣的缓存属性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信