• Resolved alevy5588

    (@alevy5588)


    After a series of disabling plugins I’ve found that wordfence adds a query string to all of my static content. (i.e. /api.min.js?ver=66f85…)

    Has anyone analyzed the importance of this behavior vs. it’s impact on page load scores as seen on gtmetrix?

    Curious if there is documentation on the importance of this behavior and if it is something that is easily removed if there are other elements providing caching and security backends (i.e. cloudflare)

    https://www.ads-software.com/plugins/wordfence/

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

    (@wfmattr)

    This query string is from the option “Hide WordPress version” — it replaces the original “ver=” string that already appears on the static content. If you uncheck that box, you will see the original version numbers instead, without any changes from Wordfence.

    It shouldn’t affect any pageload scores, since it is only replacing a version string that already exists, but may affect browser caching if you need query strings to change to cause an asset to expire. In an upcoming version of Wordfence, this part of the query string will only be replaced if the “ver=” string matches the WordPress version, so it will not hide the original version string of other assets.

    -Matt R

Viewing 1 replies (of 1 total)
  • The topic ‘Query String added to static content’ is closed to new replies.