• Resolved Karis

    (@askel45)


    1. I switched from GP to underscores because I was getting some speed savings of nearly 2 seconds on slower connections (3G). Do the upcoming changes make the theme faster?
    2. How easy or difficult is it to split the main CSS file to different smaller files depending on where the CSS is used? For example, with the underscores theme, I have several CSS files like post.css, archive.css, page.css etc which load where their naming implies and the main style.css only contains styles that apply sitewide. I do this so I can minimise unused CSS (I also don’t use sidebars and I remove such CSS from my files)
    3. Does GP have IE styles? I prefer not to support IE and have blocked my site access on the browser. Would prefer to remove these styles as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    We’ve actually switched to GP 3.0, as it’s a major update at this point.

    Not sure how you were getting a 2 second difference between GP and Underscores – the difference isn’t that huge.

    However, we were able to reduce the size of the main stylesheet considerable in GP 3.0 by changing from floats to flexbox and moving some of the CSS to component files (comments.css, widget-areas.css etc..) that only load if needed.

    GP 2.4.2: all.min.css: 35.4kb minified
    GP 3.0.0: main.min.css: 19.9kb minified

    Will GP ever be as light/fast as Underscores? No, probably not. Underscores has very little styling and no options. That being said, when it comes to a fully functioning theme, I’m not sure you can get lighter than GP 3.0.

    We don’t have any IE styles, but we do load some lightweight IE-related javascript shims to make sure some essential things at least work in IE.

    Thread Starter Karis

    (@askel45)

    @edge22 I think you just answered my question! The differences in slower connections between GP and Underscores were also baffling to me (using GTmetrix). But I also integrated GP hooks into it. I want to switch back to GP because it is block editor friendly and I am not a developer, though I know my way around CSS (using developer tools) and editing PHP. When do you expect GP 3.0 to drop? I subscribed to your beta testing during the weekend… the last question, does striving to make the theme backwards compatible sacrifice some features when it comes to speed? (On another note, I found flexbox difficult to use and integrated CSS Grid with Underscores. I cannot wait to test it with GP. Cheers!)

    Theme Author Tom

    (@edge22)

    We’re hoping to get 3.0.0-alpha.1 out early next week (very excited!).

    Backward-compatibility is always a struggle and does prevent forward-movement a lot of the time. We’ve been able to address a lot of these roadblocks in 3.0.0, which I’ve explained in the upcoming blog post about the update. It will be posted here once 3.0.0 is available for testing: https://generatepress.com/category/development/

    Thread Starter Karis

    (@askel45)

    I have bookmarked the link. Again, thank you for all the work you do and being available to answer my questions.

    Theme Author Tom

    (@edge22)

    No problem! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How Fast is GP 2.5.0?’ is closed to new replies.