Scindix
Scindix

Reputation: 1294

Clear firefox font cache

Note: this is not a duplicate of How to reset css fonts cache See the bottom of my question

TL;DR

I'm searching for a reliable way of purging the font cache of Firefox as neither CTRL+F5 nor CTRL+SHIFT+R seems to work.

My Problem

I'm using a custom font (via css) on my server:

@font-face {
    font-family: MySymbols;
    src: url(../fonts/MySymbols.woff);
}

I recently added another symbol to the font (Unicode: 21C5 / ⇅).

Under Chrome

It should look like the two arrows in this picture. The screenshot is from Chrome, which displays it correctly:

screenshot chrome

The two "u"s after that are there to prove that I'm loading the correct font. The left one uses MySymbols as font-family and the right one uses a standard font.

Under Firefox

Now with Firefox it looks like this:

screenshot firefox

It looks like Firefox still uses the old font face. The left "u" is displayed correctly, but for the arrows Firefox uses a standard font as fallback.

When I change src: url(../fonts/MySymbols.woff); to src: url(../fonts/MySymbols_something.woff); and rename the font file on the server accordingly Firefox correctly displays the following:

screenshot firefox new

When I change back both names Firefox displays the aforementioned picture with the wrong arrows again, which is very frustrating.

What I tried to solve the problem on my own

I'm aware of the following thread: How to reset css fonts cache And I worked through all of the solutions. None of them worked. In particular I checked the following things:

What could be going on and what other things are there left to try?

Upvotes: 8

Views: 4271

Answers (1)

ChrisNaylor94
ChrisNaylor94

Reputation: 131

You could try:

History > Clear Recent History > Ensure 'everything' is selected at the top, together with 'cache' and 'offline website data'

Upvotes: 1

Related Questions