Support » Plugin: Asset CleanUp: Page Speed Booster » Can I lead the assets partially?

  • Resolved quyle

    (@quyle)


    Hi,
    Thank you for creating great plugin for WP community…
    I have one question.
    Is there any way that I use your plugin to load just some parts of my css file?
    As Chrome developer tool shows that there is one css file that is 99% unused in my site, but if I disable that whole css file, the home page layout would be distorted.
    So can I make that css file load only needed css codes?
    Thank you,
    Q.

    • This topic was modified 2 years, 3 months ago by quyle.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @quyle there’s no feature that will allow you to strip automatically the unused CSS reported by Coverage (the tool used in Chrome) as it’s not that simple to have a thing like that implemented and do everything automatically as each website is different.

    However, there’s an option that will allow you to create and have the browser load a custom alternative file. Even striping half of the code manually, it might be well worth it if that file is very large. I would recommend using this feature with care and someone with some experience in CSS should do the change. Here’s the post that was recently written explaining to you how to do it: https://assetcleanup.com/docs/how-to-load-an-alternative-lighter-version-of-a-file/

    Thread Starter quyle

    (@quyle)

    Thank you… I’ll have a look!
    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I lead the assets partially?’ is closed to new replies.