Skip to content
NewA calmer, faster ZeroHour

Datasette stops serving link: rel=next headers to Firefox for HTML pages

Original title: datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages

Simon Willison ()
AI summary · x-ai/grok-4.7Summaries by Vani AI

Fix for #3046 prevents unnecessary prefetch requests to the next table page in Firefox.

Datasette served HTTP link headers like rel="next" to Firefox on table pages. This triggered prefetching of the next page of rows. Most visitors did not click the link, wasting server rendering time as the page was fetched and discarded. The change resolves the issue.

Key facts
  • Affects only HTML table pages.
  • Firefox network panel revealed the prefetch.
  • Server rendered unnecessary full pages.
  • Fix targets issue #3046.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages I was looking at the Firefox network panel today when I noticed that requests to a Datasette table page were triggering an HTTP prefetch to the next page of rows in that table. This was happening because Datasette pages serve an HTTP link header like this: link: <https://latest. datasette.

Simon Willison

simonwillison.net

Read the full article at Simon Willison

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.