JS Wei (Jack) Sun

Datasette strips rel=next to dodge Firefox's 24-year prefetch bug

Every URL the pipeline pulled into ranking for this issue — primary sources plus the supporting and contradicting findings each Researcher returned. Inline citations in the issue point back here.

← Back to the issue

Sources

datasette #3046: Don’t serve link: rel=next HTTP headers to Firefox for HTML pages simonwillison.net

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 tho…

References

Search Engine Journal searchenginejournal.com

Google stopped supporting rel=prev/next in search indexing years ago

http.dev — Sec-Purpose reference http.dev

The Sec-Purpose header signals whether a request is for immediate use or a prefetch/prerender operation… the Sec- prefix identifies it as a forbidden request header, meaning it is controlled strictly by the browser and cannot be modified or spoofed by client-side JavaScript.

DebugBear — ‘How prefetch can make your website slower’ debugbear.com

Prefetch requests, despite being assigned low priority, often compete with high-priority assets like Largest Contentful Paint (LCP) images, paradoxically slowing down the current page load.

Malwarebytes Labs malwarebytes.com

Security software like Malwarebytes Browser Guard… documented cases of blocking ‘mysterious’ background requests triggered by Chrome’s prefetcher, leading to confusing block pages for users.

Mozilla Bugzilla #1304912 bugzilla.mozilla.org

Recent efforts in related bugs have focused on aligning with the Sec-Purpose: prefetch standard, which helps prevent issues like double-prefetching and improves compatibility with CORS specifications.

Meshline.io — pagination SEO guidance meshline.io

Despite Google’s stance, many experts recommend keeping existing rel=next/prev markup… Bing still utilizes these tags as hints for discovery and site structure.

Jack Sun

Jack Sun, writing.

Engineer · Bay Area

Hands-on with agentic AI all day — building frameworks, reading what industry ships, occasionally writing them down.

Digest
All · AI Tech · AI Research · AI News
Writing
Essays
Elsewhere
Subscribe
All · AI Tech · AI Research · AI News · Essays

© 2026 Wei (Jack) Sun · jacksunwei.me Built on Astro · hosted on Cloudflare