diff --git a/components/my-layout.html b/components/my-layout.html
index 9268b91..8381fcf 100644
--- a/components/my-layout.html
+++ b/components/my-layout.html
@@ -34,11 +34,16 @@
{
"prefetch": [
{
- "source": "document",
"where": {
- "and": [
- { "href_matches": "/*", "relative_to": "document" }
- ]
+ "href_matches": "/*"
+ },
+ "eagerness": "immediate"
+ }
+ ],
+ "prerender": [
+ {
+ "where": {
+ "href_matches": "/*"
},
"eagerness": "moderate"
}
diff --git a/public/speculation-rules.json b/public/speculation-rules.json
index c01d0a8..3065ae6 100644
--- a/public/speculation-rules.json
+++ b/public/speculation-rules.json
@@ -1,11 +1,16 @@
{
"prefetch": [
{
- "source": "document",
"where": {
- "and": [
- { "href_matches": "/*", "relative_to": "document" }
- ]
+ "href_matches": "/*"
+ },
+ "eagerness": "immediate"
+ }
+ ],
+ "prerender": [
+ {
+ "where": {
+ "href_matches": "/*"
},
"eagerness": "moderate"
}
diff --git a/src/middleware.ts b/src/middleware.ts
index 678e172..f8cd095 100644
--- a/src/middleware.ts
+++ b/src/middleware.ts
@@ -24,7 +24,7 @@ export const middleware: HyperHandle = ({ request, platform }) => {
// TODO - generate? - Hash for Logo inline styles
["x-style-src", `'sha256-kXLrG8qzlz0MMhgMvdF9YD6tca5CYXeC1iFSTHDsO8w='`],
// Inline speculation rules
- ["x-script-src", `'sha256-+0XEkXfEhTK/fdyJwJ40zJo+/+nwkO10LI+U1CnyEXA='`],
+ ["x-script-src", `'sha256-wJ17tFso+XVW2pKPhXkRCUyukGeWjM3DmjQUc7cNNMw='`],
// "this.rel=`stylesheet`"
["x-script-src", `'unsafe-hashes'`],
["x-script-src", `'sha256-BGXQRYq/G9+8wEtSYSbQRnDRz8/8apfi/W/CUBMh9w0='`],