Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Fix bug 958688: Correct .woff Content-Type header #3221

Merged
merged 1 commit into from
May 27, 2015

Conversation

openjck
Copy link
Contributor

@openjck openjck commented May 18, 2015

No description provided.

@openjck
Copy link
Contributor Author

openjck commented May 18, 2015

🍞

@darkwing
Copy link
Contributor

Doesn't this need to be put on CDN?

@darkwing darkwing removed their assignment May 19, 2015
@openjck
Copy link
Contributor Author

openjck commented May 19, 2015

The CDN should be using the file. I know media/.htaccess is used.

$ cat media/.htaccess | grep css
ExpiresByType text/css "access plus 1 year"
$ curl -I https://developer.cdn.mozilla.net/media/css/mdn-min.css | grep Expires
Expires: Wed, 18 May 2016 14:55:28 GMT

@darkwing
Copy link
Contributor

Oh, I misread the path of this file :/ Sorry

@openjck
Copy link
Contributor Author

openjck commented May 20, 2015

shrug

@darkwing
Copy link
Contributor

Davids-MacBook-Pro:~ davidwalsh$ curl -k -i 'https://developer-local.allizom.org/media/fonts/ABTSmilk.woff'
HTTP/1.1 200 OK
Date: Wed, 27 May 2015 13:39:24 GMT
Server: Apache/2.2.22 (Ubuntu)
Last-Modified: Wed, 18 Mar 2015 13:08:38 GMT
ETag: "5118fc80f6180"
Accept-Ranges: bytes
Content-Length: 27665
Cache-Control: max-age=1209600
Expires: Wed, 10 Jun 2015 13:39:24 GMT
Access-Control-Allow-Methods: GET
Access-Control-Allow-Credentials: false
vary: Origin
Content-Type: application/font-woff

R+

darkwing added a commit that referenced this pull request May 27, 2015
Fix bug 958688: Correct .woff Content-Type header
@darkwing darkwing merged commit df4cd52 into mdn:master May 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants