Styles settingsAccelerator for WordPress

Styles are separated into two categories:

  • Critical

    It must be loaded before main page content to provide correct page rendering.

  • Non-critical

    It can be loaded after the main page content.

In most cases, all styles are critical as you can see by default settings. But sometimes particular styles should be tuned individually.

settings-Styles

General

  • Optimize loading

    Optimizing by inlining according to sub-options. Due to most styles are critical inlining increases page speed by decreasing request count to our server.

  • Inline as source

    Insert style’s body into ‘src’ attribute instead of change it to ‘style’ tag.

  • Group critical, group non-critical

    Grouping increases page speed by decreasing server request count but not all styles are compatible with such operation. If non-critical auto mode is active then critical grouping is always safe.

  • Minify

    Optimizes CSS code to have a smaller size.

Fonts

  • Optimize loading

    Just adds CSS ‘font-display: swap’ attribute to fonts that postpones their loading and increase page content loading speed.

  • Include to critical styles

    On some sites browser might incorrect render postponed fonts that declared in separate CSS file. It can be fixed by enabling this option.

Non-critical

  • Automatically

    Critical styles part will be automatically separated from non-critical. Below settings are not used if this mode is enabled.

  • Inlined

    Includes all inline styles.

  • Internal

    Includes all internal (self-hosted, hosted on our site) styles.

  • External

    Includes all external (hosted on the other sites) styles.

  • Exclude

    Styles with URLs, IDs, or bodies matching the specified regular expressions will be treated as critical.

  • Include only

    Only styles with URLs, IDs, or bodies matching the specified regular expressions will be treated as non-critical.

Not needed

Styles with URLs, IDs, or bodies matching the specified regular expressions will not be loaded.

Leave a Reply