News for hackers. Stuff that matters.
Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @12:07AM (#49396472)
If we stored the edges (links) and nodes (pages) separately, rather than requiring you to blindly run a node's code just to discover what its edges might be, then you could skip the prediction and instead pre-cache the next hop for all edges just in case you follow one. You could even do this to two or three hops.

This might seem wasteful, but if the web were content addressed instead of server addressed you could then be serving that cache to your municipality even after it became disconnected from the rest of the internet. Which sort of recasts it not like wastefulness but instead like fault tolerance and preparedness.

We could maybe even dispense with the servers entirely.

There are so many different ways to build a web. Why does it feel like we've landed on the worst possible one?

Re:There's no reason for software to be slow anymore by Onavo on Saturday August 22, 2026 @12:23AM (#49396543)
> If we stored the edges (links) and nodes (pages) separately, rather than requiring you to blindly run a node's code just to discover what its edges might be, then you could skip the prediction and instead pre-cache the next hop for all edges just in case you follow one. You could even do this to two or three hops.

Welcome to Next.js

Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @12:59AM (#49396699)
Can next.js give me a page's links without requiring that I execute any code that I didn't have prior to visiting that page?

The .js part makes me think not.

Re:There's no reason for software to be slow anymore by pests on Saturday August 22, 2026 @01:56AM (#49396964)
Speculative Rules API

  <script type="speculationrules">
  {
    "prefetch": [
      {
        "source": "list",
        "urls": ["/checkout.html", "/thank-you.html"]
      }
    ] 
  }
  </script>
Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @10:15AM (#49399958)
Right, but my browser doesn't interpret that. The site tells me to run some code which interprets it.

I should be able to get the lay of the land without trusting the site enough to blindly execute whatever code it points me at. It's needless attack surface.

Also it's not really pointing me at data, its pointing me a certain kinds of requests which I have to trust will be responded to consistently. I'd much rather have a hash so if I have that data lying around I can just forgo the request entirely and use what's present locally.

Re:There's no reason for software to be slow anymore by pests on Sunday August 23, 2026 @08:02PM (#49413809)
That is a browser API, there is no other code or script needed.
Re:There's no reason for software to be slow anymore by charcircuit on Saturday August 22, 2026 @01:34AM (#49396855)
>but if the web were content addressed instead of server addressed you could then be serving that cache to your municipality even after it became disconnected from the rest of the internet.

This is already possible without content addressing with CDNs. They can serve content from a local cache even when the host is disconnected from the internet.

Re:There's no reason for software to be slow anymore by TeMPOraL on Saturday August 22, 2026 @02:13AM (#49397052)
And the first thing webdevs did once this became widely available, is change their apps to cache-bust their code; between that, and the short release periods in webshit ecosystem in general, and security and privacy considerations messing up things as usual, the promise of users mostly hitting just local cache with any marginal request, never materialized.
Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @10:19AM (#49400006)
Without content addressing how do I know that whoever holds the cache hasn't tampered with the content?
Re:There's no reason for software to be slow anymore by charcircuit on Saturday August 22, 2026 @12:15PM (#49401162)
The integrity attribute of the <link> element lets you provide a hash to ensure the content has not been tampered with.
Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @01:16PM (#49401674)
Interesting. Is this common? Like, is there some way to enable it on my LAN so that when I become disconnected from the internet I can still browse pages which were cached by other devices on that LAN?
Re:There's no reason for software to be slow anymore by charcircuit on Monday August 24, 2026 @01:45AM (#49415610)
It's part of the HTML on the page. It has nothing to do with your LAN.
Re:There's no reason for software to be slow anymore by inigyou on Saturday August 22, 2026 @09:11AM (#49399407)
We have that, it's called an <a> tag.
Re:There's no reason for software to be slow anymore by __MatrixMan__ on Saturday August 22, 2026 @10:09AM (#49399904)
Its not stored separately, so:

1. You need write access to the server if you want to add one

2. The server could change its behavior at any time and there's no way to know that caches now need to be invalidated

3. If something goes wrong with connectivity or name resolution, there's no fallback since the authoritative thing was not something durable like a trusted human via a public key but rather an ephemeral thing: a named server which has pinkey promised to stay online.

It asks the user to treat a server like a trustworthy source of perisisant data.

But there's no reason to couple these kinds of trust. The skills necessary to persist and traffick data are orthogonal to being trustworthy about content. Coupling them creates needless load on single sources of failure which are simultaneously single points for corruption to target.

Trust people, not servers. Use digital signatures to validate that what you're seeing came from those people.

<a> tags are the opposite of this. They encourage us to trust servers by name, which isn't really working out.

Re:There's no reason for software to be slow anymore by inigyou on Monday August 24, 2026 @08:50AM (#49419050)
You want people without write access to a website to be able to change how browsers access that website?