Adlago Posted April 23, 2017 Share Posted April 23, 2017 In test dareboost.com link load font awesome:.../applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0 is defined as a resource delayed loading page. "No character set is specified in the HTTP headers of these resources. Determining the character set can speed up the display of pages in the browser. Specifying the character set used by the page in the HTTP Content-Type header allows the browser to begin its analysis right away." Any ideas how to solve this issue? Link to comment Share on other sites More sharing options...
Mark Posted April 23, 2017 Share Posted April 23, 2017 The correct Content-Type header for that file is "application/font-woff2" (being a binary file it has no character set). Use this tool to check if that's what you've got - if so, ignore the warning - if not, it's a server-side thing, ask your host how it can be sent properly. Link to comment Share on other sites More sharing options...
Adlago Posted April 23, 2017 Author Share Posted April 23, 2017 30 minutes ago, Mark said: The correct Content-Type header for that file is "application/font-woff2" (being a binary file it has no character set). Use this tool to check if that's what you've got - if so, ignore the warning - if not, it's a server-side thing, ask your host how it can be sent properly. Where to put it ? "Header set Content-Type application/font-woff2" When placing in a htaccess->mod_headers.c , each load site downloads a file. Link to comment Share on other sites More sharing options...
Adlago Posted April 23, 2017 Author Share Posted April 23, 2017 I found a solution - the correct row is added to the htaccess is Header set Content-Type text/html;application/font-woff2;charset=UTF-8 @MarkThanks for assistance. Link to comment Share on other sites More sharing options...
Adlago Posted April 23, 2017 Author Share Posted April 23, 2017 There must be another solution. Now in http Content-Type header contains a application/font-woff2, but in ACP - editing theme - list of template files and the ccs list is invisible. Content last open template is visible. Very strange. Search solution continues. Link to comment Share on other sites More sharing options...
Adlago Posted April 24, 2017 Author Share Posted April 24, 2017 Resolved - this row is added to mod_header.c in htaccess file. AddType application/font-woff2 .woff2 @MarkWhen tested with this tool, Content-type "application/font-woff2" does not appear. But when online test GtMetrix Content-type "application/font-woff2" is in the header of this resource. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.