• Resolved jankaribook

    (@jankaribook)


    Hello there!

    there is no doubt that GeneratePress theme is very lightweight and fast. We are love to Tom’s and GP team hard work. But I think after Gutenberg update you made it slow.

    First of all I am not developer or coder😜. I am just a user.

    Actually I don’t understand in new update why you have kept more CSS files. The most drawback is font awesome loads externally. Which is affecting google page speed score. You can see the major number of css file theme loads.

    /themes/generatepress/style.css
    /themes/generatepress/css/unsemantic-grid.min.css
    /font-awesome/4.7.0/css/font-awesome.min.css
    /css/dist/block-library/style.min.css

    The most important point that confusing to me.
    Hey to why you kept two version of each css and js file. Plz do something.

    For example: style.css >> style.min.css

    Plz either keep original css or either minified version.

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

    (@edge22)

    Hi there,

    Thanks for your feedback!

    The most drawback is font awesome loads externally.

    GeneratePress no longer loads Font Awesome. If you’ve been using GeneratePress for a long time, then it might be turned on by default to maintain backward compatibility. You can check this by going to Customize > General. If there’s an option to load essential icons only, you can check that and it will no longer load Font Awesome.

    /themes/generatepress/style.css

    This is the main stylesheet of the theme.

    /themes/generatepress/css/unsemantic-grid.min.css

    This stylesheet handles the grid system within the theme. We’ll be introducing a Flexbox option soon which will allow us to remove that file.

    /css/dist/block-library/style.min.css

    This file was added by WordPress in WordPress 5.0.

    Hey to why you kept two version of each css and js file. Plz do something.

    If a theme adds a minified file (CSS or JS), it’s required to include the non-minified version as well. This is helpful for debugging, but mostly allows our users to see what each minified file contains.

    Hope this helps 🙂

    Thread Starter jankaribook

    (@jankaribook)

    If you’ve been using GeneratePress for a long time, then it might be turned on by default to maintain backward compatibility

    Oh sorry sir. Actually I had added font awesome loading code in function.php

    it’s required to include the non-minified version as well

    So at the time of page is browsing which version loads? and if both version loads is it affecting to page load time?

    Theme Author Tom

    (@edge22)

    The browser only loads the minified versions. The un-minified versions are only there for reference 🙂

    Thread Starter jankaribook

    (@jankaribook)

    Ok thanks.

    Theme Author Tom

    (@edge22)

    No problem 🙂

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

The topic ‘A Request to GP team.’ is closed to new replies.