A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/whatwg/html/issues/6110 below:

Memory cache/list of available images interop meta-issue · Issue #6110 · whatwg/html · GitHub

It's been known for a long time that the spec doesn't match reality when it comes to the "memory cache", which is some sort of in-memory layer in front of the HTTP cache (see https://blog.yoav.ws/posts/tale-of-four-caches/ for a bit more). The spec has a per-document (but also shareable-between-documents) "list of available images", but Blink and WebKit implement something more general. I believe Gecko implements the spec's image cache, but also a non-specced stylesheet cache. There's also some connection to the also-unspecced preload cache, it seems.

EDIT: the preload cache is now specced! https://html.spec.whatwg.org/#map-of-preloaded-resources

The open issues I could find regarding this are: #5674, #2465, whatwg/fetch#590, #154, https://www.w3.org/Bugs/Public/show_bug.cgi?id=25798.

Solving this problem with one grand spec edit seems very hard. And there are so many issues to go through on the conceptual level (e.g. cache scope, cache keys, interaction with preloads, interaction with HTTP headers, etc.) Instead, perhaps we could concentrate on specific non-interoperable scenarios, ideally inspired by bugs that web developers have encountered in the wild, and work toward conclusions on them. That's what I'd like to use this issue for.

Hopefully we can come to an agreement on the desired behavior in each scenario, and then commit a .tentative web platform test for it, and get all browsers to align. Maybe eventually we could write spec text, but staying focused on the interop pain and driving it down through tests + browser bugs seems like the right initial focus.

Folks who have mentioned being interested in this area in the past: @emilio @domfarolino @yoavweiss. I'd also love to hear from some Apple folks if they've run into anything; I believe @smfr and @achristensen07 were at the TPAC meeting where this was discussed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3