Title: Add Expires Headers
Last modified: August 31, 2016

---

# Add Expires Headers

 *  [Amour Web Design](https://wordpress.org/support/users/safersheffield/)
 * (@safersheffield)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/add-expires-headers-3/)
 * **Hi,**
 * Does installing this plugin fix the ‘a far-future expiration date’ error that
   the Google Fonts Api gives in the GTmetrix test?
 * ——————————————————-
 * There are 7 static components without a far-future expiration date.
 * [http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700%2C800](http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700%2C800)
   
   [http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900](http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900)
   [http://fonts.googleapis.com/css?family=Droid+Serif%3A400%2C700](http://fonts.googleapis.com/css?family=Droid+Serif%3A400%2C700)
   [http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900&subset=latin](http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900&subset=latin)
   [http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900](http://fonts.googleapis.com/css?family=Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900)
   [http://www.google-analytics.com/analytics.js](http://www.google-analytics.com/analytics.js)
   [http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800%7CRaleway:100,200,300,400,500,600,700,800,900%7CDroid+Serif:400,700](http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800%7CRaleway:100,200,300,400,500,600,700,800,900%7CDroid+Serif:400,700)
 * [https://wordpress.org/plugins/easy-google-fonts/](https://wordpress.org/plugins/easy-google-fonts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * (@sunny_johal)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/add-expires-headers-3/#post-6979490)
 * Hi Amour Web Design,
    No it wouldn’t. Read [this answer](http://stackoverflow.com/a/1439094)
   on stack overflow for a good explanation on why this is the case. Cheers
 * Sunny
 *  [sarmour21](https://wordpress.org/support/users/sarmour21/)
 * (@sarmour21)
 * [10 years ago](https://wordpress.org/support/topic/add-expires-headers-3/#post-6979513)
 * Hi,
 * In relation to this question. I’m trying to improve my speed as well. Reducing
   the use of the google apis to grab stylesheets would reduce http requests, dns
   lookups, and the number of stylesheets (W3TC for some reason can’t grab these
   and combine/minify).
 *  One option I’m thinking of using, since I have a small website, and don’t use
   many different fonts is to inline the stylesheets.
    [https://developers.google.com/speed/pagespeed/module/filter-css-inline-google-fonts#description](https://developers.google.com/speed/pagespeed/module/filter-css-inline-google-fonts#description)
 * To do this I’d need to first shut off the Is there an easy way for me to prevent
   automatic enqueuing of the google font apis in Easy Google Fonts, or will this
   break it? Do you have any thoughts on how to do this properly?
 * Thanks
 * Sean

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add Expires Headers’ is closed to new replies.

 * ![](https://ps.w.org/easy-google-fonts/assets/icon-256x256.png?rev=2562365)
 * [Easy Google Fonts](https://wordpress.org/plugins/easy-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-google-fonts/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [sarmour21](https://wordpress.org/support/users/sarmour21/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/add-expires-headers-3/#post-6979513)
 * Status: not resolved