diff --git a/www/src/content/docs/06-extensions/06-preload.md b/www/src/content/docs/06-extensions/06-preload.md index 7448b89e..c50d9af2 100644 --- a/www/src/content/docs/06-extensions/06-preload.md +++ b/www/src/content/docs/06-extensions/06-preload.md @@ -17,21 +17,21 @@ The `preload` extension allows you to load HTML fragments into your browser's ca ## Usage -Add a `preload` attribute to any hyperlinks and [`hx-get`](/reference/attributes/hx-get) elements you want to preload. By default, resources will be loaded as soon as the `mousedown` event begins, giving your application a roughly 100-200ms head start on serving responses. +Add an `hx-preload` attribute to any hyperlinks and [`hx-get`](/reference/attributes/hx-get) elements you want to preload. By default, resources will be loaded as soon as the `mousedown` event begins, giving your application a roughly 100-200ms head start on serving responses. ```html -Preloaded on mousedown - +Preloaded on mousedown + ``` All preload requests include an additional `"HX-Preloaded": "true"` header. ### Inheriting Preload Settings -You can add the `preload` attribute to a parent element, and all links within it will be preloaded: +You can add the `hx-preload` attribute to a parent element, and all links within it will be preloaded: ```html -