I'm running a shopify website and the big problem with this kind of websites is that when they load the static resources (images for example), they generate a query so the URL in the generated HTML will look like:
<img src="logo.jpg?123244334324">
For optimization reasons I need to remove everything after the "JPG" so the code will look like
<img src="logo.jpg">
As the title says, I'm trying to remove the queries from static resources from a loaded HTML document by using JavaScript or any other wide-supported method. Just the query used in order to refresh the static resources on every load, not # or anything else.