Live data from Hacker News

Google Fonts Redesigned

fonts.google.com

91–100 of 268 posts

Re: Google Fonts Redesigned

#93
post #82

Can someone explain to me why Google Fonts doesn't provide proper cache headers, still? https://stackoverflow.com/questions/29091014/how-do-i-levera... Why disallow caching? Unless I'm misunderstanding something.

They do provide proper cache headers. They cache the CSS for 1 day. The actual font files are cached for a lot longer than that.

The reason for shorter cache periods for CSS is that Google are continually making improvements. The font files are different e.g. for Mac vs Windows because they are optimized for platforms.

In general you will find that all URLs that are directly called from millions of websites (e.g. facebook SDK, Google Analytics snippet) have short TTLs. Makes sense when you think about it -- 3rd parties providing these resources need a way to stay agile and ship new versions without forcing millions of websites to upgrade their code.

Re: Google Fonts Redesigned

#94

Earlier quoted context omitted.

Are you using chrome? It looks pretty dumb in firefox. It looks like this. http://imgur.com/IT7x83h

Chrome and Firefox look exactly the same to me edit: from your comment below, maybe you're on Linux? Sounds like you're seeing the same thing as this subthread: https://news.ycombinator.com/item?id=11903444

That is what I see also. FF on Linux.

Re: Google Fonts Redesigned

#95
post #93
post #82

Can someone explain to me why Google Fonts doesn't provide proper cache headers, still? https://stackoverflow.com/questions/29091014/how-do-i-levera... Why disallow caching? Unless I'm misunderstanding something.

They do provide proper cache headers. They cache the CSS for 1 day. The actual font files are cached for a lot longer than that. The reason for shorter cache periods for CSS is that Google are continually making improvements. The font files are different e.g. for Mac vs Windows because they are optimized for platforms. In general you will find that all URLs that are directly called from millions of websites (e.g. fac…

> They do provide proper cache headers. They cache the CSS for 1 day. The actual font files are cached for a lot longer than that.

I don't see it, not with curl at least.

Looks like actual fonts are cached for a year.

But not CSS,

> curl https://fonts.googleapis.com/css?family=Open+Sans -i

expires:Tue, 14 Jun 2016 19:02:03 GMT

date:Tue, 14 Jun 2016 19:02:03 GMT

At the very least they should allow to control that with another query parameter.

Re: Google Fonts Redesigned

#96

"Your browser is not currently supported. Google Fonts works best on Chrome, Firefox, or Safari." Google still treating Edge users like trash, I see[0]. Microsoft Edge works fine for the vast majority of websites, and a block like this telling you to get a different browser is incredibly painful. If you tell me I need a different browser, I'm going to find a different company or website to do business with. [0]Gmail…

It's fair play after the IE-ification of the web before that.

Re: Google Fonts Redesigned

#97
post #9

If anyone is curious about the sample text: * "All their equipment and instruments are alive." (Mr. Spaceship, by Philip K. Dick) * "A red flair silhouetted the jagged edge of a wing." (The Jewels of Aptor, by Samuel R. Delany) * "I watched the storm, so beautiful yet terrific." (Frankenstein, by Mary Shelley) * "Almost before we knew it, we had left the ground." (A Trip to Venus, by John Munro) * "A shining crescent…

The first one on the list had convinced me this was a very interestingly-trained Markov chain generator. I need to read more Philip K. Dick.

Who still remembers MegaHal?

https://megahal.alioth.debian.org/

Some of my favorites:

COULD SHAKE MY TINY FIST AND SWEAR I WASN'T WRONG, BUT WHAT'S THE SENSE IN ARGUING WHEN YOU'RE MUCH TOO BUSY RETURNING TO THE LAVATORY.

AMAZING GRACE, HOW SWEET THE SOUND OF ONE OR MORE NUMBERS REPRESENTED IN DIGITAL FORM.

SATAN GUIDES US TELEPATHICLY THROUGH RECTAL THERMOMETERS. WHY DO YOU THINK ABOUT META-REASONING?

Re: Google Fonts Redesigned

#100

What's the font used on the page? It reads beautifully (especially in the "about") and I'd like to use it.

My bad, for anyone wondering the same, I just read the source and it's Roboto (which google uses a lot so I should thought of that in the first place).
Post reply on HN