[Support request] WPRocket and Generate Press – Excluding CSS Files

Home Forums Support [Support request] WPRocket and Generate Press – Excluding CSS Files

Home Forums Support WPRocket and Generate Press – Excluding CSS Files

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1587375
    Christian

    Hi there,

    I am trying to figure out what URL of CSS files to exclude for WP-Rocket for page-speed purposes.

    For example, my other website uses the Astra theme and they told us to use this URL to include in the WP-Rocket settings:

    /wp-content/themes/astra/assets/css/minified/style.min.css

    Here’s a picture: https://prnt.sc/w65oce

    Just want to know what the equivalent would be for Generate Press if I wanted to do something similar.

    Thanks!

    #1587464
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You would do the exact same thing, you just need update the path. For example, this is where the CSS in the theme lives: https://github.com/tomusborne/generatepress/tree/3.0.2/assets/css

    So, one example would be: wp-content/themes/generatepress/assets/css/main.min.css

    Let us know if you need more info 🙂

    #1728969
    Chad

    Tom,

    Can you recommend what .css files we should exclude? I am in same situation coming from other popular theme and using WP Rocket.

    Thanks!

    #1729572
    David
    Staff
    Customer Support

    Hi there,

    the example file that Tom provided is the main one to be excluded for the theme styles.

    #1731932
    Chad

    Thanks, David!

    #1732073
    David
    Staff
    Customer Support

    You’re welcome

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