.htaccess YSlow:在其HTTP头中未指定字符集
如何通过.htaccess进行修复?尝试在.htaccess中添加以下两行:.htaccess YSlow:在其HTTP头中未指定字符集,.htaccess,.htaccess,如何通过.htaccess进行修复?尝试在.htaccess中添加以下两行: The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP headers can speed up browser rendering. http://www.mysite.com/assets/fonts/Roboto/Roboto300.wof
The following resources have no character set specified in their HTTP headers.
Specifying a character set in HTTP headers can speed up browser rendering.
http://www.mysite.com/assets/fonts/Roboto/Roboto300.woff
http://www.mysite.com/assets/fonts/Roboto/Roboto700.woff
http://www.mysite.com/assets/fonts/font-awesome/fontawesome-webfont.woff
我已输入AddDefaultCharset UTF-8,但仍然收到警告!
AddDefaultCharset UTF-8
AddCharset UTF-8 .htm .html .css .js .woff