首页    期刊浏览 2025年02月25日 星期二
登录注册

文章基本信息

  • 标题:Language-Based Caching of Dynamically Generated HTML
  • 本地全文:下载
  • 作者:Claus Brabrand ; Anders Møller ; Steffan Olesen
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:2001
  • 卷号:8
  • 期号:17
  • 出版社:Aarhus University
  • 摘要:Increasingly, HTML documents are dynamically generated by interactive Web services. To ensure that the client is presented with the newest versions of such documents it is customary to disable client caching causing a seemingly inevitable performance penalty. In the system, dynamic HTML documents are composed of higher-order templates that are plugged together to construct complete documents. We show how to exploit this feature to provide an automatic fine-grained caching of document templates, based on the service source code. A service transmits not the full HTML document but instead a compact JavaScript recipe for a client-side construction of the document based on a static collection of fragments that can be cached by the browser in the usual manner. We compare our approach with related techniques and demonstrate on a number of realistic benchmarks that the size of the transmitted data and the latency may be reduced significantly.
国家哲学社会科学文献中心版权所有