Skip to content

Commit daa4504

Browse files
committed
Update test, remove mock data
1 parent 9474498 commit daa4504

File tree

9 files changed

+9
-109
lines changed

9 files changed

+9
-109
lines changed

inc/Engine/Media/PreloadFonts/Frontend/Controller.php

Lines changed: 1 addition & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -107,112 +107,12 @@ public function add_custom_data( array $data ): array {
107107
*/
108108
$system_fonts = wpm_apply_filters_typed( 'array', 'rocket_preload_fonts_system_fonts', $system_fonts );
109109

110-
// To Delete Mock Data during implementation of https://github.com/wp-media/wp-rocket/issues/7306.
111-
$font_data = [
112-
'https://fonts.gstatic.com/s/poppins/v22/pxiAyp8kv8JHgFVrJJLmE0tMMPKhSkFEkm8.woff2' => [
113-
[
114-
'family' => 'Poppins',
115-
'weight' => '100',
116-
'style' => 'italic',
117-
'unicodeRange' => 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7…',
118-
],
119-
],
120-
'https://fonts.gstatic.com/s/poppins/v22/pxiAyp8kv8JHgFVrJJLmE0tCMPKhSkFE.woff2' => [
121-
[
122-
'family' => 'Poppins',
123-
'weight' => '100',
124-
'style' => 'italic',
125-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
126-
],
127-
],
128-
'https://fonts.gstatic.com/s/poppins/v22/pxiDyp8kv8JHgFVrJJLmv1pVGdeOYktMqlap.woff2' => [
129-
[
130-
'family' => 'Poppins',
131-
'weight' => '200',
132-
'style' => 'italic',
133-
'unicodeRange' => 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7…',
134-
],
135-
],
136-
'https://fonts.gstatic.com/s/poppins/v22/pxiDyp8kv8JHgFVrJJLmv1pVF9eOYktMqg.woff2' => [
137-
[
138-
'family' => 'Poppins',
139-
'weight' => '200',
140-
'style' => 'italic',
141-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
142-
],
143-
],
144-
'https://fonts.gstatic.com/s/poppins/v22/pxiDyp8kv8JHgFVrJJLm21lVGdeOYktMqlap.woff2' => [
145-
[
146-
'family' => 'Poppins',
147-
'weight' => '300',
148-
'style' => 'italic',
149-
'unicodeRange' => 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7…',
150-
],
151-
],
152-
'https://fonts.gstatic.com/s/poppins/v22/pxiDyp8kv8JHgFVrJJLm21lVF9eOYktMqg.woff2' => [
153-
[
154-
'family' => 'Poppins',
155-
'weight' => '300',
156-
'style' => 'italic',
157-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
158-
],
159-
],
160-
'https://fonts.gstatic.com/s/poppins/v22/pxiEyp8kv8JHgFVrJJLmg1hHGpeKQEk.woff2' => [
161-
[
162-
'family' => 'Poppins',
163-
'weight' => '400',
164-
'style' => 'italic',
165-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
166-
],
167-
],
168-
'https://fonts.gstatic.com/s/poppins/v22/pxiFyp8kv8JHgFVrJJLucHtUFMNEKQ.woff2' => [
169-
[
170-
'family' => 'Poppins',
171-
'weight' => '500',
172-
'style' => 'italic',
173-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
174-
],
175-
],
176-
'https://fonts.gstatic.com/s/poppins/v22/pxiGyp8kv8JHgFVrJJLsbX9NE9eO.woff2' => [
177-
[
178-
'family' => 'Poppins',
179-
'weight' => '600',
180-
'style' => 'italic',
181-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
182-
],
183-
],
184-
'https://fonts.gstatic.com/s/poppins/v22/pxiGyp8kv8JHgFVrJJLsbXpNE9eO.woff2' => [
185-
[
186-
'family' => 'Poppins',
187-
'weight' => '900',
188-
'style' => 'italic',
189-
'unicodeRange' => 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC…',
190-
],
191-
],
192-
'https://fonts.gstatic.com/s/poppins/v22/pxiGyp8kv8JHgFVrLPTufntAOvWDSHFF.woff2' => [
193-
[
194-
'family' => 'Poppins',
195-
'weight' => '100',
196-
'style' => 'normal',
197-
'unicodeRange' => 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7…',
198-
],
199-
],
200-
'https://fonts.cdnfonts.com/s/31427/Paper Sign.woff' => [
201-
[
202-
'family' => 'Paper Sign',
203-
'weight' => '400',
204-
'style' => 'normal',
205-
'unicodeRange' => 'U+0000-10FFFF',
206-
],
207-
],
208-
];
209-
210110
/**
211111
* Filters the list of mock font urls.
212112
*
213113
* @param array $font_data Array of font data.
214114
*/
215-
$font_data = wpm_apply_filters_typed( 'array', 'rocket_preload_fonts_font_data', $font_data );
115+
$font_data = wpm_apply_filters_typed( 'array', 'rocket_preload_fonts_font_data', [] );
216116

217117
$data['system_fonts'] = $system_fonts;
218118
$data['font_data'] = $font_data;

tests/Fixtures/inc/Engine/Common/PerformanceHints/Frontend/Subscriber/HTML/no_closing_body_tag_output.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
</head>
55
<body>
66
</html>
7-
<script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":{"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiAyp8kv8JHgFVrJJLmE0tMMPKhSkFEkm8.woff2":[{"family":"Poppins","weight":"100","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiAyp8kv8JHgFVrJJLmE0tCMPKhSkFE.woff2":[{"family":"Poppins","weight":"100","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLmv1pVGdeOYktMqlap.woff2":[{"family":"Poppins","weight":"200","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLmv1pVF9eOYktMqg.woff2":[{"family":"Poppins","weight":"200","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLm21lVGdeOYktMqlap.woff2":[{"family":"Poppins","weight":"300","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLm21lVF9eOYktMqg.woff2":[{"family":"Poppins","weight":"300","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiEyp8kv8JHgFVrJJLmg1hHGpeKQEk.woff2":[{"family":"Poppins","weight":"400","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiFyp8kv8JHgFVrJJLucHtUFMNEKQ.woff2":[{"family":"Poppins","weight":"500","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrJJLsbX9NE9eO.woff2":[{"family":"Poppins","weight":"600","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrJJLsbXpNE9eO.woff2":[{"family":"Poppins","weight":"900","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrLPTufntAOvWDSHFF.woff2":[{"family":"Poppins","weight":"100","style":"normal","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.cdnfonts.com\/s\/31427\/Paper Sign.woff":[{"family":"Paper Sign","weight":"400","style":"normal","unicodeRange":"U+0000-10FFFF"}]}}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script>
7+
<script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":[]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script>
88

tests/Fixtures/inc/Engine/Common/PerformanceHints/Frontend/Subscriber/HTML/output_double_body_tag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ <h1>Iframe Header</h1>
1818
</body>
1919
</html>
2020
" width="600" height="400" style="border:none;"></iframe>
21-
<script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":{"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiAyp8kv8JHgFVrJJLmE0tMMPKhSkFEkm8.woff2":[{"family":"Poppins","weight":"100","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiAyp8kv8JHgFVrJJLmE0tCMPKhSkFE.woff2":[{"family":"Poppins","weight":"100","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLmv1pVGdeOYktMqlap.woff2":[{"family":"Poppins","weight":"200","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLmv1pVF9eOYktMqg.woff2":[{"family":"Poppins","weight":"200","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLm21lVGdeOYktMqlap.woff2":[{"family":"Poppins","weight":"300","style":"italic","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiDyp8kv8JHgFVrJJLm21lVF9eOYktMqg.woff2":[{"family":"Poppins","weight":"300","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiEyp8kv8JHgFVrJJLmg1hHGpeKQEk.woff2":[{"family":"Poppins","weight":"400","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiFyp8kv8JHgFVrJJLucHtUFMNEKQ.woff2":[{"family":"Poppins","weight":"500","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrJJLsbX9NE9eO.woff2":[{"family":"Poppins","weight":"600","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrJJLsbXpNE9eO.woff2":[{"family":"Poppins","weight":"900","style":"italic","unicodeRange":"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC\u2026"}],"https:\/\/fonts.gstatic.com\/s\/poppins\/v22\/pxiGyp8kv8JHgFVrLPTufntAOvWDSHFF.woff2":[{"family":"Poppins","weight":"100","style":"normal","unicodeRange":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7\u2026"}],"https:\/\/fonts.cdnfonts.com\/s\/31427\/Paper Sign.woff":[{"family":"Paper Sign","weight":"400","style":"normal","unicodeRange":"U+0000-10FFFF"}]}}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
21+
<script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":[]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
2222
</html>

tests/Fixtures/inc/Engine/Common/PerformanceHints/Frontend/Subscriber/HTML/output_preload_fonts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<link rel="stylesheet" href="http://example.org/assets/fonts/font1.woff2">
55
<link rel="stylesheet" href="http://example.org/assets/fonts/font2.ttf">
66
</head>
7-
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
7+
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":[]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
88
</html>

tests/Fixtures/inc/Engine/Common/PerformanceHints/Frontend/Subscriber/HTML/output_preload_fonts_w_crossorigin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<link rel="stylesheet" href="http://external.domain/assets/fonts/font1.woff2">
55
<link rel="stylesheet" href="http://example.org/assets/fonts/font2.ttf">
66
</head>
7-
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
7+
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":[]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
88
</html>

tests/Fixtures/inc/Engine/Common/PerformanceHints/Frontend/Subscriber/HTML/output_preload_fonts_w_relative_path.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<link rel="stylesheet" href="/assets/fonts/font1.woff2">
55
<link rel="stylesheet" href="/assets/fonts/font2.ttf">
66
</head>
7-
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
7+
<body><script>var rocket_beacon_data = {"ajax_url":"http:\/\/example.org\/wp-admin\/admin-ajax.php","nonce":"96ac96b69e","url":"http:\/\/example.org","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":false,"status":{"atf":true,"lrc":true,"preload_fonts":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"system_fonts":["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","Arial","Helvetica","Times New Roman","Times","Courier New","Courier","Georgia","Palatino","Garamond","Bookman","Tahoma","Trebuchet MS","Arial Black","Impact","Comic Sans MS"],"font_data":[]}</script><script data-name="wpr-wpr-beacon" src='http://example.org/wp-content/plugins/wp-rocket/assets/js/wpr-beacon.min.js' async></script></body>
88
</html>

0 commit comments

Comments
 (0)