• Resolved Generosus

    (@generosus)


    After activating SGO’s feature “Remove Query Strings from Static Resources”, we noticed SGO failed to strip the query string from our custom icon (.ttf) file.

    The file in question (and its query string) is:

    https://www.mywebsite.com/wp-content/uploads/fusion-icons/custom-icon-set/fonts/custom-icon-set.ttf?g5dizs

    Based on the above, is it normal for SGO to ignore query strings assigned to icon or fontawesome files? If not, what do you think happened in this case and what can we do to fix it?

    Note: The above custom icon file was created using the file-generation tool provided by the icomoon.io app.

    Not a big issue, but worth understanding what’s happening here.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitar Petrov

    (@demiro)

    Hello,

    The feature in question is developed to remove version-related query strings. The convention for this type of query string composition is to explicitly define the version after an identifier like

    'ver',
    'version',
    'v',
    'mts',
    'nomtcache',
    'generated',
    'timestamp',
    'cache'

    In your case, the query string is just a value. If this is an actual version, I would recommend contacting the developers responsible for this logic and requesting an explicit definition.

    Best Regards,
    Dimitar

    Thread Starter Generosus

    (@generosus)

    Hi @demiro,

    Thank you for your detailed input. Very helpful.

    Yes, it appears the numerical value is also a version number.

    I plan to contact the developers of icomoon.io for input and, possibly, a fix.

    Again, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SGO Not Stripping Query String from Font File’ is closed to new replies.