Is There a "Diff" for HTML That'd Save the Spent Resources for a Full Page Reload?
February 8, 2005 1:43 AM Subscribe
On community blog sites like Metafilter, a lot of bandwidth seems to be consumed by redundant requests like previewing comments or checking for new ones where the entire page is reloaded. So when in the thread on Google Maps, mosch
mentioned the
HTTPRequest javascript object, that got me thinking. Are there any ways to write code that can cut down on resending the same data. Some kind of 'diff' method for HTML?
posted by daksya to computers & internet (20 answers total)
i suspect it's going to be inefficient in most cases, since html pages are not bandwidth hogs anyway (at least not the structure part - embedded images and other data are expensive, but would be needed anyway). but it would be nice to play with. bet someone writes a demo soon...
("dhtml" is the general umbrella term for this kind of thing (obviously), but generally without the server being involved)
posted by andrew cooke at 4:54 AM on February 8, 2005