• Resolved sherissa_r

    (@sherissa_r)


    I wanted to share a fix for an issue I ran into in case it helps someone else.

    I was building pages with GenerateBlocks and GenerateBlocks Pro and everything looked correct in the editor and on the front end when logged in. However, when viewing the site logged out or in a private browser window, some GenerateBlocks layouts were broken and the flexbox styles were missing.

    After a lot of testing, I found the cause was a setting in the Admin and Site Enhancements (ASE) plugin:

    Disable version number on static resource URLs referenced in <head>

    This setting applies to non-logged-in visitors and is meant to improve cacheability and hide WordPress version details. In my case, it caused GenerateBlocks styles to stop loading correctly on the public front end.

    Fix

    Turning off that ASE setting immediately fixed the issue.

    Summary

    • Logged-in view: worked normally.
    • Logged-out/private view: GenerateBlocks styles broke.
    • Cause: ASE setting to remove version numbers from static resource URLs in <head>.
    • Fix: disable that ASE option.

    I’m posting this in case anyone else is troubleshooting a strange “works when logged in, broken when logged out” GenerateBlocks layout issue.

Viewing 1 replies (of 1 total)
  • Plugin Author Bowo

    (@qriouslad)

    @sherissa_r thank you for noting down the incidence/issue here.

    The module description did say the following:

    “Disable version number on static resource URLs referenced in , which can disclose WordPress version number. Older versions(s) might contain unpatched security loophole(s). Applies to non-logged-in view of pages. This will also increase cacheability of static assets, but may have unintended consequences. Make sure you know what you are doing.

    Now we know one of those “unintended consequences”.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.