Skip to content
onsuggest
Log in
Article en

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

Source: Simon Willison ·

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.io/fixtures/compound_three_primary_keys?_next=a%2Cd%2Cv>; rel="next" This is bad. A tiny fraction of the visitors to one of those pages will click the "next" link, which means their browser is fetching unnecessary data and the D

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

datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages is a article discovery curated from Simon Willison. 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 tabl

How can I access or experience this?

You can experience this content directly on its original host (Simon Willison) by clicking the "Open Original" button.

Where does this content come from?

Curated from Simon Willison by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.