[Resolved] Remove Query Strings From Static Resources breaks GenerateBlocks

Home Forums Support [Resolved] Remove Query Strings From Static Resources breaks GenerateBlocks

Home Forums Support Remove Query Strings From Static Resources breaks GenerateBlocks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1638673
    Andre

    Hello,

    I am running in to the following problem when I have “Remove Query Strings From Static Resources” activated in my performance plugin (SG Optimizer from Siteground).

    I noticed it when I was editing my homepage that was formerly built with “Sections”, as I want to stop using that “old” solution.

    I’m now using only GenerateBlocks on this page. It looks kind of random, as some blocks look good and others totally deformed.

    Normal view, with “Remove Query Strings From Static Resources” deactivated
    https://www.awesomescreenshot.com/video/2568732

    Error view, with “Remove Query Strings From Static Resources” activated
    https://www.awesomescreenshot.com/video/2568760

    Page URL https://www.tempodeviajar.com/
    “Remove Query Strings From Static Resources” is deactivated now

    Is this behavior expected? Any thoughts or solution to solve this problem? I believe I could simply deactivate “Remove Query Strings From Static Resources”, but I think this is good for performance, right? And, anyway, this behavior suggests some king of error or bug that could be solved.

    Thanks,

    André

    #1639271
    David
    Staff
    Customer Support

    Hi there,

    Short answer – don’t enable the feature, the advice for doings so is completely outdated, it provides zero performance improvements and it will break any dynamically generated CSS.

    #1639579
    Andre

    Got it! Thanks.

    For future reference, I leave these links from GT Metrix and WP Rocket about the deprecated feature advice:
    – GT Metrix https://gtmetrix.com/remove-query-strings-from-static-resources.html
    – WP Rocket https://docs.wp-rocket.me/article/56-remove-query-string-from-static-resources

    Cheers,

    André

    #1639593
    David
    Staff
    Customer Support

    You’re welcome

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