Fritz.StreamTools icon indicating copy to clipboard operation
Fritz.StreamTools copied to clipboard

Need to cache locally the contents of the Google Font CSS files

Open csharpfritz opened this issue 7 years ago • 2 comments

This takes a long time to download, and it would be nice to cache this locally on some periodic basis.

Perhaps expiring once a week?

csharpfritz avatar Feb 24 '18 16:02 csharpfritz

Another option is to pipe-delimit the fetch and construction of CSS link tags:

https://fonts.googleapis.com/css?family=Play|Lemon

csharpfritz avatar Feb 24 '18 16:02 csharpfritz

Keep in mind that according to their terms of use under Section 5.E.1 that you can't keep cached copies longer than permitted by the cached header, which is set to 24 hours.

https://developers.google.com/terms/

Eldorian avatar Feb 24 '18 21:02 Eldorian