Thursday, November 19, 2026Thu, Nov 19 AboutRSSSubscribe

GDS

Design tools and creative technology

Code & Web

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

Datasette stops serving link headers to Firefox for HTML pages, reducing unnecessary data fetches. This change improves server efficiency and user experience.

Original reporting · simonwillison.net

Read “datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages” at Simon Willison →

How this was written. GDS wrote this article with a language model from Simon Willison’s reporting (model: @cf/meta/llama-3.3-70b-instruct-fp8-fast); it describes that reporting rather than adding to it. The original, linked above, is the full story.

Key points from Simon Willison’s report

  • Datasette has stopped serving link headers to Firefox for HTML pages to reduce unnecessary data fetches.
  • The change aims to improve server efficiency and user experience by preventing unnecessary page renders.
  • The issue with Firefox's behavior has been ongoing for 24 years, with an open issue on the topic.

Datasette has made a change to how it serves HTTP headers to Firefox, according to Simon Willison. The issue arose when Firefox's network panel showed that requests to a Datasette table page triggered an HTTP prefetch to the next page of rows in that table.

The problem was caused by Datasette pages serving an HTTP link header, which instructed the browser to fetch the next page of rows. This resulted in unnecessary data being fetched and the Datasette server rendering an entire page that was then discarded.

Simon Willison reported that only a small fraction of visitors to those pages would click the 'next' link, making the prefetch unnecessary. By stopping the serving of these link headers, Datasette aims to reduce the amount of unnecessary data being fetched and improve server efficiency.

The issue with Firefox's behavior has been ongoing for 24 years, with an open issue on the topic. Interestingly, one of the early comments on that issue links to Simon Willison's blog post from 2002, where he complained about this feature, showing that the problem has been known for a long time.

Simon Willison had even forgotten about the feature and his past complaints, until he dug into the issue again. This highlights the persistence of the problem and the need for a solution, which Datasette has now implemented.

The change made by Datasette is a positive step towards improving the user experience and reducing unnecessary server load. By not serving link headers to Firefox for HTML pages, Datasette can help prevent unnecessary data fetches and improve overall efficiency.

The fix is a result of Simon Willison's investigation into the issue, which was prompted by his observation of Firefox's network panel. This shows the importance of monitoring and analyzing browser behavior to identify areas for improvement.

Questions and answers

What was causing the unnecessary data fetches?

Datasette pages were serving an HTTP link header, which instructed the browser to fetch the next page of rows.

How long has the issue with Firefox's behavior been known?

The issue has been ongoing for 24 years, with an open issue on the topic.

What prompted Simon Willison to investigate the issue?

Simon Willison's investigation was prompted by his observation of Firefox's network panel.

Read the full story at Simon Willison More from Sunday, November 8, 2026’s edition