Title: Warning message about images and a woff font
Last modified: August 30, 2016

---

# Warning message about images and a woff font

 *  Resolved [userwords](https://wordpress.org/support/users/userwords/)
 * (@userwords)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/warning-message-81/)
 * Installing autoptimize and wordpress super cache as suggested has improved speed
   over w3c total cache. However im still getting this message on page speed:
 * > Setting an expiry date or a maximum age in the HTTP headers for static resources
   > instructs the browser to load previously downloaded resources from local disk
   > rather than over the network.
   >  Leverage browser caching for the following cacheable
   > resources: [http://www.yourdomain.com/…ts/fonts/genericons-regular-webfont.woff](http://www.yourdomain.com/…ts/fonts/genericons-regular-webfont.woff)(
   > 4 hours) [http://www.yourdomain.com/…-your-picture.jpg](http://www.yourdomain.com/…-your-picture.jpg)(
   > 24 hours)
 * Arnt supposed those plugins to set those. Ive looked the htaccess and there is
   not expire headers at all. Do you have any idea if i may be missing any option
   in the settings i may need to change.
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/warning-message-81/#post-6518260)
 * AO sets HTTP headers for the autoptimized JS & CSS files, but not for files that
   are not in AO’s scope I’m afraid. Don’t think WPSC does the either, so maybe 
   just add some stuff to your .htaccess yourself?
 * Something like this should probably work;
 *     ```
       <IfModule mod_expires.c>
               ExpiresActive On
               ExpiresByType application/x-font-woff   "access plus 1 month"
               ExpiresByType image/png "access plus 1 month"
               ExpiresByType image/gif "access plus 1 month"
               ExpiresByType image/jpeg "access plus 1 month"
       </IfModule>
       ```
   
 * (there are other font types you might want to configure in there as well, but
   consider that an exercise 😉 )
 * hope this helps,
    frank
 *  Thread Starter [userwords](https://wordpress.org/support/users/userwords/)
 * (@userwords)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/warning-message-81/#post-6518359)
 * Thats what i did as a temporary solution. But as you tell me it is not a missconfig
   on my part, but it is indeed beyond the scope of both plugins, i consider that
   solved anyway. Thank you very much for your reply Frank. I tried your plugin 
   after w3c and along with super cache it improved speed a lot. I used almost an
   entire day to configure w3c total cache, and yours with a few clicks was performing
   far better. Thanks for keeping it simply. Im sure in certain scenarios w3c total
   cache can perform better of what i got, as im using a shared hosting. But for
   my config yours is awesome and simple. Keep it that way Frank, keep it simple
   and as auto as you can so we can concentrate in writing good content for everyone.

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

The topic ‘Warning message about images and a woff font’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [Leverage](https://wordpress.org/support/topic-tag/leverage/)

 * 2 replies
 * 2 participants
 * Last reply from: [userwords](https://wordpress.org/support/users/userwords/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/warning-message-81/#post-6518359)
 * Status: resolved