* Prefetch data endpoint
(url)
| 190 | * Prefetch data endpoint |
| 191 | */ |
| 192 | prefetchData(url) { |
| 193 | // Use fetch with low priority if supported |
| 194 | if ('fetch' in window) { |
| 195 | fetch(url, { |
| 196 | priority: 'low', |
| 197 | credentials: 'same-origin' |
| 198 | }).catch(() => { |
| 199 | // Ignore prefetch errors |
| 200 | }); |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Create and append link element to head |
no outgoing calls
no test coverage detected