[Support request] CSS generateblocks

Home Forums Support [Support request] CSS generateblocks

Home Forums Support CSS generateblocks

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #1530821
    Anders Nielsen


    Does generateblocks generate one CSS file with all css..

    Or does it create a css file pr. page/post? (which only loads on that page)

    This is my site: Angst.dk

    Customer Support

    Hi there,

    GenerateBlocks CSS is dynamic so it prints only the required CSS for each page/post.


    So this css can be cached , i mean i am not a tech guy with , but it will call the css in every page load from Database ?

    Customer Support

    Yes, it can be cached.

    To Note:
    In the Dashboard > Settings > GenerateBlocks there are two CSS Print Method options to choose from:

    1. External File
    2. Inline

    If changing those options you must click Regenerate CSS after.
    We provide both options as some server configurations do not like External Files.

    When it comes to caching the External File can be cached like any other file and as part of Combined CSS.
    When using Inline most cache plugins provide options to Combine Inline CSS.

    Anders Nielsen

    Ok, I used to inline all CSS using autoptimize…

    As css files often are renderblocking.

    Are generateblocks adding some king of preload, or other “tecnical stuff” to make it non render blocking?

    This is my site: Angst.dk

    Anders Nielsen

    Question II:

    I can see the files are generated like: uploads/generateblocks/style-XXX.css

    Is there a way I can Exclude CSS from Autoptimize, when the filesnames are changing?

    This is my site: Angst.dk

    Lead Developer
    Lead Developer

    It doesn’t pre-load, but it can still be bundled using a plugin like Autoptimize. It simply adds an additional CSS file in the <head> with the necessary CSS.

    I believe Autoptimize allows you to exclude folders, but I’m not 100% sure.

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