Re:Building an Offline Page for Theguardian.com
by Grumbledour on Saturday July 25, 2020 @01:42PM
(#23951017)
I am not up to date on this kind of technology, but reading the article, this sound terrible! Not the guardians implementation, but the concept of locally "caching", though I would call it installing, executable code, that can then intercept network requests and basically do whatever it wants? Why would we think this is a good idea?
I am not surprised by Chrome doing something like this. But firefox too? I hope this will be opt-in.
Re:Building an Offline Page for Theguardian.com
by Narretz on Saturday July 25, 2020 @01:54PM
(#23951122)
Service workers have been around for a while. As far as I know their capabilities are restricted to the domain that includes them. So the guardian website can only intercept network requests made from itself.
Re:Building an Offline Page for Theguardian.com
by Grumbledour on Saturday July 25, 2020 @02:00PM
(#23951176)
Well, just goes to show you how out of date I am!
Though after reading up on it, I still don't like it much. It makes the web behave in ways I don't expect it to and I don't really see why anyone would really need this, unless they want to fundamentally change the way the web is expected to work.
Re:Building an Offline Page for Theguardian.com
by nicoburns on Saturday July 25, 2020 @02:28PM
(#23951362)
It's main usecase is for making web apps work offline. This allows you to "install" a web app rather than a full-blown native app. If iOS supported it properly, then you could have truly cross platform, sandboxed mobile apps.
There used to be a declarative version AppCache, but in pracrice that made cache invalidation almost impossible to manage properly.
Re:Building an Offline Page for Theguardian.com
by perennate on Saturday July 25, 2020 @03:54PM
(#23951905)
Mine shows none. Could be because of permanent private browsing. Do people still run browser on their personal computer without permanent private browsing enabled?
Re:Building an Offline Page for Theguardian.com
by geofft on Sunday July 26, 2020 @01:46AM
(#23954737)
It can't do whatever it wants. It can make responses for requests that would go to that particular website without actually making the request, that's it - that is, the website can provide some code that makes local responses on its behalf for things it could respond to anyway. It can't intercept (or even see) anything for other sites. That's a significant difference from installing executable code in the form of a standalone binary.
I do agree, more broadly, that there's a place in this world for a s web-like thing that only lets sites provide text and minimal formatting and doesn't let them run any code at all, even in a constrained/sandboxed environment. (https://gemini.circumlunar.space/ seems like the most promising thing in this space.) But the web hasn't been that since 1995 when they released LiveScript.
Re:Building an Offline Page for Theguardian.com
by SyneRyder on Sunday July 26, 2020 @06:57AM
(#23956110)
There's also the original pre-web Gopher protocol, which has been getting a lot more users since being mentioned on HN a few weeks ago together with Gemini. Gopher seems to appeal to people who like retro-computing - the TLS requirement of Gemini rules out even older Macs, nevermind the Apple IIs and Commodore 64s that can still access Gopher.
For anyone curious, Phetch is a really good terminal-based browser for Gopher written in Rust [1], and Jaruzel's Gopher Browser For Windows is a very easy to use GUI browser that also supports image files. Both are under 1MB. (If you're running Haiku OS, Gopher is still built-in to the default WebPositive browser.)
I am not surprised by Chrome doing something like this. But firefox too? I hope this will be opt-in.
There used to be a declarative version AppCache, but in pracrice that made cache invalidation almost impossible to manage properly.
I do agree, more broadly, that there's a place in this world for a s web-like thing that only lets sites provide text and minimal formatting and doesn't let them run any code at all, even in a constrained/sandboxed environment. (https://gemini.circumlunar.space/ seems like the most promising thing in this space.) But the web hasn't been that since 1995 when they released LiveScript.
For anyone curious, Phetch is a really good terminal-based browser for Gopher written in Rust [1], and Jaruzel's Gopher Browser For Windows is a very easy to use GUI browser that also supports image files. Both are under 1MB. (If you're running Haiku OS, Gopher is still built-in to the default WebPositive browser.)
[1] https://github.com/xvxx/phetch
[2] http://www.jaruzel.com/gopher/gopher-client-browser-for-wind...