[Resolved] CSS and Javascript loading optimisation

Home Forums Support [Resolved] CSS and Javascript loading optimisation

Home Forums Support CSS and Javascript loading optimisation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1334928
    Dorian

    Hi there,

    I am trying to optimize the load of css and javascript. I am using Asset Cleanup Pro which allows me to choose where I want to load the assets, which pages, and where, (head, body).
    The problems is that I don’t know much about the assets, and their use. I can guess for some, but I can’t guess for all.
    Is there a document that shows what the various css files are used for?

    Also, do you have any guide, or info for creating critical css, (maybe by content type)?

    Thank you,

    Dorian

    #1335576
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    When it comes to GeneratePress styles and scripts, we try to only load them where completely necessary by default.

    However, it really depends on your set up. For example, if you’re using our smooth scroll script only on one page etc..

    We don’t have a guide for critical CSS at this time. However, some plugins can generate that automatically for you I believe.

    #1338128
    Dorian

    Thanks Tom,

    Dorian

    #1339070
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.