I'm having trouble getting webfonts (a font other than a specific one) that displays correctly while my application is disconnected.
so I have my own font in the manifest
fonts/fontawesome-webfont.ttf?v4.1.0
When the application is downloaded for the first time, the ttf file is downloaded and saved in appcache and displayed correctly.
however, as soon as you disconnect the network so that the application works offline, everything works differently from the font-based icons (they appear as square boxes, as if the font did not load)
I looked in chrome appcache (chrome: // appcache-internals) and the file is there
Explicit, https:
I can access the file and the title seems to be correct
HTTP/1.1 200 OK Content-Type: font/ttf Last-Modified: Fri, 23 May 2014 07:40:31 GMT Accept-Ranges: bytes ETag: "cbe2e465a76cf1:0" Server: Microsoft-IIS/8.5 X-Powered-By: ASP.NET Date: Thu, 05 Jun 2014 08:05:57 GMT Content-Length: 141564
There are several suspicious things in chrome.
Application Cache Error event: Manifest fetch failed (6) https://mysite.com/appcache.manifest
But I assume that this is simply because the application is disabled and cannot receive the updated manifest
Second
Resource interpreted as Font but transferred with MIME type text/html: "https://mysite.com/fonts/fontawesome-webfont.ttf?v=4.1.0"
This is the only thing I see that could be the reason.
Any insight would be awesome, thanks in advance!