Diagnose Duplicate Font Requests After a Preload
A font can appear twice in the network panel when the preload does not match the later font request. Verify the two requests on a clean load.
Capture URL and initiator
On staging, record the first preload and later font request. Compare the complete URL including origin and query string. Open the initiators to find the preload declaration and the matching font face.
Compare the request attributes
Check that the preload identifies a font with the appropriate type and crossorigin attribute. Font fetching requires the correct CORS mode even for a same-origin preload. Check the status and the font actually selected for the rendered text.
Change one reason for the mismatch
Align the preload with the intended font file and request mode, or remove it if the font is unused on the route. Keep alternate weights and subsets distinct so an unrelated request is not misdiagnosed as a duplicate.
Verify a new cold load
Repeat with the same viewport and cache state. Check that the necessary font renders and uses the intended request without a second transfer.
Related guides
Official references
Ferkesh Hosting. Last reviewed .
Obrigado pela sua opinião!