• Resolved swinggraphics

    (@swinggraphics)


    The plugin creates 9 CSS files that all load in order one right after another, instead of combining them.

    <link rel='stylesheet' id='header-0-css'  href='/wordpress/wp-content/mmr/2cd705ee-0.css' type='text/css' media='screen' />
    <link rel='stylesheet' id='header-1-css'  href='/wordpress/wp-content/mmr/1c6304bb-0.css' type='text/css' media='print' />
    <link rel='stylesheet' id='header-2-css'  href='/wordpress/wp-content/mmr/3a2b06c8-0.css' type='text/css' media='all' />
    <link rel='stylesheet' id='header-3-css'  href='/wordpress/wp-content/mmr/0b7d02b3-0.css' type='text/css' media='screen' />
    <link rel='stylesheet' id='header-4-css'  href='/wordpress/wp-content/mmr/2e6305e3-0.css' type='text/css' media='all' />
    <link rel='stylesheet' id='header-5-css'  href='/wordpress/wp-content/mmr/21bf04eb-0.css' type='text/css' media='screen' />
    <link rel='stylesheet' id='header-6-css'  href='/wordpress/wp-content/mmr/b29012c5-0.css' type='text/css' media='all' />
    <link rel='stylesheet' id='header-7-css'  href='/wordpress/wp-content/mmr/71b20967-0.css' type='text/css' media='only screen and (max-width: 768px)' />
    <link rel='stylesheet' id='header-8-css'  href='/wordpress/wp-content/mmr/09922b40-0.css' type='text/css' media='all' />

    Surely similar media could be combined?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter swinggraphics

    (@swinggraphics)

    The more I think about it, I guess that would be too much for the plugin to attempt. Marking closed.

    Plugin Author Khang Minh

    (@oddoneout)

    Yes files with similar media should be combined, so if they are not there’s definitely an issue here.

    Would you mind sharing your current plugin settings (perhaps a screenshot) and the codes you’re using to enqueue those files?

    Thread Starter swinggraphics

    (@swinggraphics)

    I’m personally not using any code to enqueue those; they’re all from the theme and plugins. I think the plugin is actually okay the way it is, because it would risk cascade problems with rules being overridden if the code in a “screen” only file was moved before an “all” media file or vise verse.

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

The topic ‘Creates too many files’ is closed to new replies.