top | item 46444106

(no title)

efortis | 2 months ago

another trick is adding speculation rules on MPA sites. so when you hover over a link the page gets prerendered. For example, my initial page takes ~80ms, but navigating to other pages take 20ms

    prerender: [
      {
         where: { href_matches: '/*' },
         eagerness: 'moderate'
      }
    ]

That doesn't work on Safari, FF, and Brave, but you could do something like this:

https://github.com/ericfortis/mockaton/blob/main/www/src/_as...

discuss

order

chmod775|2 months ago

Most adblockers/privacy extensions disable this.

uBlock Origin does it by default for instance.

efortis|2 months ago

Do they block <link rel=prefetch> completely?

On Brave, the workaround on that linked snippet bypasses their blocking.