WordPress.org

Support

Support » Plugins and Hacks » Autoptimize » [Resolved] make style sheet inline

[Resolved] make style sheet inline

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

    @futtta

    Ah, but that can easily be accomplished Hamed; either put the inline css between noptimize-tags or add a unique string (one that is only in that block of css) to the “exclude CSS from autoptimization”-field in the admin page.

    i mean autoptimize grab the style.css file export styles compress it and make it inline.
    there is simple ways to do it like copy styles and compress it then paste it…
    but i prefer to do it with simply one click.
    like this: picture
    i use three plugin to do what i want, before this i just use autoptimize and now i use:
    1. autoptimize
    2. Images URL Rewrite for CDN
    3. Async JS and CSS

    Plugin Author Frank Goossens

    @futtta

    Hmm … I’ll put this on my list of things to investigate, but I’m not sure about this one; although this theoretically will lead to a better mobile pagespeed score, it is bound to, in reality, slow things down as you’re including the CSS in each and every page requested (which is a serious overhead). I’ll keep you posted on what I come up with as conclusion 🙂

    Plugin Author Frank Goossens

    @futtta

    I’ve been doing some tests, chances are inline CSS will be in one of the following releases after all.

    you’re awesome frank

    Plugin Author Frank Goossens

    @futtta

    OK, 1.8.0-test has just been published, looking forward to your feedback!

    frank if i have a inline css like:
    <s tyle>
    whatever
    < /s tyle>
    and a < link rel=” style sheet” href= “stuff. css / >

    did new feature combine this to one inline style?

    Plugin Author Frank Goossens

    @futtta

    yes, all CS is aggregated the same way as before, only difference being the place where the autoptimized CSS is located (inline vs in external stylesheets).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] make style sheet inline’ is closed to new replies.
Skip to toolbar