If you cannot set an [up-preload=insert] attribute in your HTML, you can use this compiler for the same effect:
up.compiler('link[rel=next]', (link) => {\n up.link.preload(link)\n})-
|
I know I can preload links in my navbar using preload="insert" |
Beta Was this translation helpful? Give feedback.
-
|
If you cannot set an up.compiler('link[rel=next]', (link) => {
up.link.preload(link)
}) |
Beta Was this translation helpful? Give feedback.
If you cannot set an
[up-preload=insert]attribute in your HTML, you can use this compiler for the same effect: