Very Easy Method:
In your theme’s function file (Appearance > Editor > Functions.php), add the following code before the closing PHP tag (%>) at the bottom of the file:
function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Visual : https://www.bilgedede.org
Source: https://www.tricksmachine.com/2012/04/remove-query-strings-from-static-resources.html#comment-747724