3 ms·
And when the page is loaded again, how would the browser know that the base64 encoded data in the page matches the binary data that has been cached?
by mike-cardwell 16y ago
And when the page is loaded again, how would the browser know that the base64 encoded data in the page matches the binary data that has been cached?
- stcredzero 16y agoWhatever the behavior is, it's probably in WebKit. I should test this out on Chrome and Safari as a first pass.
- Someone 16y agoGood question. I would guess that it would just decode it again when it reloads the page. That shouldnt happen often, if people set the page's time-to-live correctly. If they don't, you have to reparse the page anyways, as any content could have changed. When redisplaying a page without reloading, the browser should just use the parsed page.