fbpx

Xmas is coming - Grab 30% Discount on all Joomla Template. Coupon Code: PRECHRISTMAS Unlock Offer

Welcome, Guest
Username: Password: Remember me

TOPIC: Fontawesome

Fontawesome 2 months 3 weeks ago #8349

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
How to fix this?

The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP headers can speed up browser rendering.

www.domain.com/templates/jd_boston/fonts...ebfont.woff2?v=4.7.0
The administrator has disabled public write access.

Fontawesome 2 months 3 weeks ago #8351

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

This isn't a template specific issue but an issue more on the server level. Please see the following related posts:

webmasters.stackexchange.com/questions/1...n-http-headers-error
stackoverflow.com/questions/21414840/ysl...n-their-http-headers

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Fontawesome 2 months 3 weeks ago #8406

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
The solution was to add this to my .htaccess file

#Character set
AddDefaultCharset On
AddType font/woff2 .woff2
AddDefaultCharset UTF-8
AddCharset UTF-8 .htm .html .css .js .woff .woff2 .eot .svg .ttf .otf
#End Character set

But I can not figure out to solve this:

Add Expires headers
There are 2 static components without a far-future expiration date.
fonts.googleapis.com/css?family=Roboto:3...300,400&subset=latin
fonts.googleapis.com/css?family=Raleway


This also causes too many HTTP requests
The administrator has disabled public write access.

Fontawesome 2 months 2 weeks ago #8435

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1338
  • Thank you received: 189
  • Karma: 38
Hello,

You'll have to leave those as is since you can't change the expiration on content that's hosted outside your domain.

The longer route to getting this done would be removing the font (hosted with google) and adding a custom font and I don't think it will be worth the effort.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Time to create page: 0.378 seconds