Simon Willison

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

Read the original on Simon Willison →

The article discusses an issue where Datasette serves an HTTP link header with rel="next" to Firefox for HTML pages, causing the browser to prefetch the next page of rows. This prefetching leads to unnecessary data transfer and server load, as the prefetched page is often discarded. The author discovered that Firefox has a long-standing bug related to this behavior and referenced a 2002 blog post that previously highlighted the problem.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.

Simon Willison
Sep 16

datasette 1.0a40

The article announces the release of Datasette 1.0a40, which includes a security fix identical to that in version 0.65.5, new features such as the ability for plugins to launch and manage background tasks via the datasette.add_background_task() method, and a migration to httpx2 to support features like datasette.client.get(). The update also contains numerous bug fixes, many of which were addressed during a recent triage effort for the upcoming 1.0 stable release.

Simon Willison
Sep 20

datasette-explain 0.2.2

The article announces the release of datasette-explain version 0.2.2, noting that the plugin’s plan explanations now work on read‑only stored‑query pages. The author upgraded the demo site to Datasette 1.0a40, which motivated the new plugin version. The release is tagged for sqlite and datasette users.

Simon Willison
Oct 18

llm-tools-datasette 0.1.1

The article announces the release of llm-tools-datasette version 0.1.1. It explains that updating LLM to use httpx2 caused compatibility issues with plugins that relied on httpx, including llm-tools-datasette, which has now been fixed. The release notes highlight the resolution of this plugin breakage.

Simon Willison
Sep 24

datasette 1.0a41

The article announces the release of Datasette 1.0a41, highlighting new OpenTelemetry support added by Alec Garcia and a refactor that consolidates all modal dialogs into a single Web Component, now documented for plugin use.

Simon Willison
Sep 7

Creepy crawlies

Konstantin Ryabitsev highlights the growing problem of abusive web crawlers that consume excessive CPU resources on git.kernel.org, the official Git repository for the Linux kernel. He notes that at any given moment, 14 CPU cores across five geo‑distributed nodes are dedicated solely to rendering git commits as HTML for these scrapers, surpassing the CPU usage for all legitimate access such as git clones. This issue raises concerns for services like Datasette, which also serve large numbers of crawlable web pages.