// Same-origin restraint is enabled by default.//// This example will ignore all requests to:// - all "/api/*" pathnames// - all ".zip" extensions// - all <a> tags with "noprefetch" attribute//quicklink({ignores:[/\/api\/?/,uri=>uri.includes('.zip'),(uri,elem)=>elem.hasAttribute('noprefetch')]});
Thanks. You can also use like this;
also, you can use
ignore
optionAre you actively using it?
No. But I'm interested in new approaches and libraries.
Looks like Dev.to have something similar using service workers. Hashnode is also using the same
Isn't dev.to a preact SPA? (with ssr) and not a server rendered site?
I'm not sure whether it's SSR or not. But they prefetch posts when we hover on it
It's SSR
@ben why is there a whole html in there :O
oh nice!
Cool. Thanks