Ngnix wont cache woff

Brent Clark brentgclarklist at
Wed Oct 5 08:39:36 UTC 2016

Good day Guys

Im struggling to get nginx to cache woff and woff2 file.

It would appear its the particular wordpress theme is set to not cache.
But I would like to override that.

Nothing I seem to do, works.

If someone could please review my work it would be appreciated.

bclark at bclark:~$ curl -I 
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 05 Oct 2016 08:28:31 GMT
Content-Type: application/font-woff
Content-Length: 41160
Connection: keep-alive
Last-Modified: Sun, 01 Nov 2015 15:02:55 GMT
ETag: "a0c8-5237bf49e7739"
Expires: Wed, 05 Oct 2016 09:28:31 GMT
Vary: User-Agent
Pragma: public
X-Powered-By: W3 Total Cache/
Cache-Control: max-age=3600
X-Cache-Status: MISS
Accept-Ranges: bytes

Here is my code:

Kind Regards

Brent Clark

More information about the nginx mailing list