Skip to content

Commit 8595204

Browse files
dunglasnicolas-grekas
authored andcommitted
[WebLink] Hint that prerender is deprecated
1 parent 4d188b6 commit 8595204

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Link.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ class Link implements EvolvableLinkInterface
9898
public const REL_PREDECESSOR_VERSION = 'predecessor-version';
9999
public const REL_PREFETCH = 'prefetch';
100100
public const REL_PRELOAD = 'preload';
101+
102+
/**
103+
* This feature is deprecated and superseded by the Speculation Rules API.
104+
*
105+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/prerender
106+
*/
101107
public const REL_PRERENDER = 'prerender';
102108
public const REL_PREV = 'prev';
103109
public const REL_PREVIEW = 'preview';

0 commit comments

Comments
 (0)