File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ The WebLink component provides the following Twig functions to send those hints:
146
146
* ``prefetch() ``: "identifies a resource that might be required by the next
147
147
navigation, and that the user agent *should * fetch, such that the user agent
148
148
can deliver a faster response once the resource is requested in the future".
149
- * ``prerender() ``: "identifies a resource that might be required by the next
149
+ * ``prerender() ``: " **deprecated ** and superseded by the `Speculation Rules API `_,
150
+ identifies a resource that might be required by the next
150
151
navigation, and that the user agent *should * fetch and execute, such that the
151
152
user agent can deliver a faster response once the resource is requested later".
152
153
@@ -206,3 +207,4 @@ You can also add links to the HTTP response directly from controllers and servic
206
207
.. _`Akamai` : https://http2.akamai.com/
207
208
.. _`link defined in the HTML specification` : https://html.spec.whatwg.org/dev/links.html#linkTypes
208
209
.. _`PSR-13` : https://www.php-fig.org/psr/psr-13/
210
+ .. _`Secpulation Rules API` : https://developer.mozilla.org/docs/Web/API/Speculation_Rules_API
You can’t perform that action at this time.
0 commit comments