Jump to content

HTTP Content-Type


Adlago

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...