Closed
Bug 613546
Opened 14 years ago
Closed 11 years ago
Enable caching of WOFF files on mozilla.org
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davidwboswell, Unassigned)
Details
I've received several comments about how there's a problem with the site because the text style is adjusting each time someone loads a page. This appears to just be a problem with how the WOFF file is being loaded -- a default font is displayed until the WOFF file finished downloading. This is just a guess though -- this may be unrelated to the WOFF file downloading. Is there anything we can do to minimize this? Perhaps having the WOFF file cached so the adjusting only happens on the initial page load? Maybe there's something else we could try?
Comment 1•14 years ago
|
||
Firebug is showing the WOFF font requests with: X-Cache-Info: not cacheable; response code not cacheable While, the same files when loaded from mozilla.com, rather than .org, show: X-Cache-Info: caching Need to figure out why.
Comment 2•14 years ago
|
||
A bit more info, for the record. It looks like the request (according to Firebug) when loading from mozilla.org includes: "Cache-Control max-age=0" While the same requests from mozilla.com do not include Cache-Control info.
Reporter | ||
Updated•14 years ago
|
Summary: Text style adjusts as page loads → Enable caching of WOFF files on mozilla.org
Comment 3•14 years ago
|
||
Possibly related: Bug 620688
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 4•14 years ago
|
||
This is being address in Bug 619767.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Comment 5•14 years ago
|
||
Bug 619767 doesn't cover the max-age=0 thing, as far as I can see....
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Comment 6•13 years ago
|
||
So this looks like it was two separate issues -- a referrer check and a cache issue? To confirm, the patch that fixed bug 619767 fixes the referrer check for both mozilla.com and mozilla.org sites? Looked like it from the regex, but that's not my strong suit :) So for the max-age issue, what are next steps for addressing that?
Comment 7•12 years ago
|
||
Closing old Mozilla.org website bugs due to them not being relevant to the new Python-based Bedrock system. Re-open if this is a critical bug and should be resolved on the new system too.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 12 years ago
Resolution: --- → WONTFIX
Comment 8•12 years ago
|
||
I'll repeat: So for the max-age issue, what are next steps for addressing that?
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Comment 9•11 years ago
|
||
I think this issue has been fixed at some point. I can see a max-age like this: Cache-Control: max-age=23932670 X-Cache-Info: caching http://mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.woff?2013
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•