• Resolved Jedi82

    (@jedi82)


    Hy,

    i use your amazing plugin but i saw this when i test the speed of my site on Google Pagespeed:

    …ize_50bd732568ac4c43349018a9136f3c49.css
    …ize_05e3ecb99b0f07024351927598e5dfe7.css

    I have to line of cache/autoptimize/css/autoptimize_…….. it is strange right? I remember that the plugin create just one css no? How can i solve it?:

    Is there a way to optimize this damn google font without disable them?

    Here you can find how i set the plugin:

    https://s25.postimg.org/40k1wyxkv/image.png
    https://s25.postimg.org/ua54frji7/image.png

    Thanks!!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    * there’s two separate CSS-files as your original CSS also targeted 2 media-types (probably “all” and “screen”). merging is possible with a couple of lines of code hooking into AO’s API, but could very well break your CSS.
    * AO’s CSS is by default linked in head which GPSI considers render-blocking indeed. you can switch to “inline all CSS” (easy) or “inline & defer CSS” (better), cfr. FAQ for more info
    * for google fonts you could try the google webfont optimizer plugin?

    have fun ??
    frank

    Thread Starter Jedi82

    (@jedi82)

    Thanks for the quick reply! Right, on my theme, these two lines appear only on the mobile version. So it’s fine, it’s ok like this without touching lines of code!

    Google webfont optimizer? Ummm, judging the review and the last update…no thanks ??

    And what about the config i made for the plugin? Can i check more toggle or that’s fine like this?

    Plugin Author Frank Goossens

    (@futtta)

    well, I would disable JS try/catch wrapping if possible, it has a slight performance impact on javascript execution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Pagespeed: optimize css 2 line of autoptimize cache file’ is closed to new replies.