Okay
  Public Ticket #3750684
style.min.css file
Closed

Comments

  •  17
    Eric started the conversation

    Sorry to spam you, at the same time working on speed website.

    Using jetpack I asked them some extra cuestions because results are not so good. Part of their answer is : 

    • The report indicates that there's about 218 KB of unused CSS impacting mobile performance. A notable example is the style.min.css file from the B2BKing plugin, which contains unused styles.
    • What you can do: Since you have "Concatenate CSS" enabled in Boost, review the settings in the B2BKing plugin to see if there are any options to disable unnecessary styles. If the plugin allows, try limiting CSS loading to specific pages where it's needed. This will help Boost optimize and focus on only the essential styles, reducing the overall load time.

    Didn't see such an option on your side : any idea to fix that ?

    Thanks

  •  2,281
    WebWizards replied

    Hi Eric,

    Admittedly, this could be handled better by our plugin, by splitting that style file into sections and loading them only more selectively.

    I'm trying to do this for the next update. I've created a separate style CSS file and will look at populating that with only CSS that loads on My Account and Bulk Order form pages (the majority of the plugin's CSS).

    This is a bit slow to do as I need to go through that CSS line by line, carefully.

     

    Let me get back to you on this when it's ready. Trying to do so within the next week.

  •  17
    Eric replied

    ok, thanks. In the meantime I changed from Jetpack (which is really a bad bad tool) to WP Rocket with much better results. But, anyway, I think that the Jetpack comment remains relevant.

  •  2,281
    WebWizards replied

    Yes, WP Rocket is much better.

    If you have different content for B2B / B2C, you should also enable User Cache: https://docs.wp-rocket.me/article/313-user-cache

     

    Will still try to do that style splitting into sections for the next update.