Title: Optimizing plugin css
Last modified: August 22, 2016

---

# Optimizing plugin css

 *  [oschicus](https://wordpress.org/support/users/oschicus/)
 * (@oschicus)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/)
 * Hi,
 * I am very happy with your plugin as it works perfect to me. I just have a question,
   when I check my google page insights I have observed that the css of some of 
   theme plugins are not being optimized. Can I optimize them through your plugin
   or using any other methods?
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Thread Starter [oschicus](https://wordpress.org/support/users/oschicus/)
 * (@oschicus)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365718)
 * What if I modify the code and include the folders (plugin folders) that contain
   css to optimize?
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365720)
 * Hi oschicus; in general AO tries to aggregate & optimize all local, static CSS.
   That means that external CSS (not on the exact same domain as your blog, e.g.
   Google Fonts CSS) or local dynamic CSS (CSS that is generated by PHP, probably
   by a plugin that allows you to tweak style) will not get aggregated/ minified.
   Does that fit with what you see, or do you have local static CSS that is not 
   optimized?
 * frank
 *  Thread Starter [oschicus](https://wordpress.org/support/users/oschicus/)
 * (@oschicus)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365807)
 * Hi,
 * Exactly that is what I see. For this reason I said I am really happy.
 * My question is, is it possible to modify the AO plugin code to include those 
   external CSS?
 * Thanks,
 * Oscar
 *  Thread Starter [oschicus](https://wordpress.org/support/users/oschicus/)
 * (@oschicus)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365808)
 * I mean include those external CSS and therefore aggrefate and minify them.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365834)
 * not in Autoptimize, but if you would have a plugin (or Apache config, using rewrite-
   rules or mod_proxy) that could make those external CSS as local ones, then AO
   would try to optimize them as well. pretty experimental, but should work.
 * frank

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

The topic ‘Optimizing plugin css’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/optimizing-plugin-css/#post-5365834)
 * Status: not resolved