{"action":"created","issue":{"url":"https://api.github.com/repos/google/fonts/issues/367","repository_url":"https://api.github.com/repos/google/fonts","labels_url":"https://api.github.com/repos/google/fonts/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/google/fonts/issues/367/comments","events_url":"https://api.github.com/repos/google/fonts/issues/367/events","html_url":"https://github.com/google/fonts/issues/367","id":174858641,"number":367,"title":"Google Fonts not being cached in Mozilla Firefox","user":{"login":"niutech","id":384997,"avatar_url":"https://avatars.githubusercontent.com/u/384997?v=3","gravatar_id":"","url":"https://api.github.com/users/niutech","html_url":"https://github.com/niutech","followers_url":"https://api.github.com/users/niutech/followers","following_url":"https://api.github.com/users/niutech/following{/other_user}","gists_url":"https://api.github.com/users/niutech/gists{/gist_id}","starred_url":"https://api.github.com/users/niutech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niutech/subscriptions","organizations_url":"https://api.github.com/users/niutech/orgs","repos_url":"https://api.github.com/users/niutech/repos","events_url":"https://api.github.com/users/niutech/events{/privacy}","received_events_url":"https://api.github.com/users/niutech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T22:23:22Z","updated_at":"2016-09-10T16:43:12Z","closed_at":null,"body":"Each time I refresh a simple static HTML document with Google Fonts in `<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=...\">` using Mozilla Firefox 47, the request to fonts.googleapis.com is performed and the font is downloaded, even if I do not force-refresh the web page nor purge the cache. Instead, the web font should be served from local cache and no request should be made, or at least it should return 304 Not Modified.\r\n\r\nRequest headers:\r\n```\r\nHost: fonts.googleapis.com\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0\r\nAccept: text/css,*/*;q=0.1\r\nAccept-Language: pl,en-US;q=0.7,en;q=0.3\r\nAccept-Encoding: gzip, deflate, br\r\nDNT: 1\r\nConnection: keep-alive\r\nCache-Control: max-age=0\r\n```\r\nResponse headers:\r\n```\r\nHTTP/2.0 200 OK\r\nContent-Type: text/css; charset=utf-8\r\nAccess-Control-Allow-Origin: *\r\nTiming-Allow-Origin: *\r\nLink: <https://fonts.gstatic.com>; rel=preconnect; crossorigin\r\nExpires: Fri, 02 Sep 2016 22:05:07 GMT\r\nDate: Fri, 02 Sep 2016 22:05:07 GMT\r\nCache-Control: private, max-age=86400\r\nContent-Encoding: br\r\nServer: ESF\r\nX-XSS-Protection: 1; mode=block\r\nx-frame-options: SAMEORIGIN\r\nAlt-Svc: quic=\":443\"; ma=2592000; v=\"36,35,34,33,32,31,30\"\r\nX-Firefox-Spdy: h2\r\n```"},"comment":{"url":"https://api.github.com/repos/google/fonts/issues/comments/246121869","html_url":"https://github.com/google/fonts/issues/367#issuecomment-246121869","issue_url":"https://api.github.com/repos/google/fonts/issues/367","id":246121869,"user":{"login":"bardware","id":802702,"avatar_url":"https://avatars.githubusercontent.com/u/802702?v=3","gravatar_id":"","url":"https://api.github.com/users/bardware","html_url":"https://github.com/bardware","followers_url":"https://api.github.com/users/bardware/followers","following_url":"https://api.github.com/users/bardware/following{/other_user}","gists_url":"https://api.github.com/users/bardware/gists{/gist_id}","starred_url":"https://api.github.com/users/bardware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bardware/subscriptions","organizations_url":"https://api.github.com/users/bardware/orgs","repos_url":"https://api.github.com/users/bardware/repos","events_url":"https://api.github.com/users/bardware/events{/privacy}","received_events_url":"https://api.github.com/users/bardware/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T16:43:12Z","updated_at":"2016-09-10T16:43:12Z","body":"I tried to reproduce it. It seems to me the font itself is not being downloaded over and over again. The font (woff file) has an expiration date one year in the future. The css declaration however seems to be downloaded every time."}}
{"actor":{"display_login":"bardware"}}