Language-Based Caching of Dynamically Generated HTML

Research output: Contribution to journal/Conference contribution in journal/Contribution to newspaperJournal articleResearchpeer-review

  • Claus Brabrand, Denmark
  • Anders Møller
  • Steffan Olesen, Denmark
  • Michael Ignatieff Schwartzbach, Denmark
  • Department of Computer Science
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.
Original languageEnglish
JournalWorld Wide Web (New York)
Volume5
Issue4
Pages (from-to)305-323
Number of pages18
ISSN1386-145X
DOIs
Publication statusPublished - 2002

See relations at Aarhus University Citationformats

ID: 280616