• 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://ww.wp.xz.cn/plugins/autoptimize/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter oschicus

    (@oschicus)

    What if I modify the code and include the folders (plugin folders) that contain css to optimize?

    Plugin Author Frank Goossens

    (@futtta)

    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

    (@oschicus)

    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

    (@oschicus)

    I mean include those external CSS and therefore aggrefate and minify them.

    Plugin Author Frank Goossens

    (@futtta)

    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.