tools like tools.pingdom.com suggest that i should remove query strings to increase site performance. i have installed “Remove Query Strings From Static Resources” plugin that solved some of the issue. How can i remove them all? I have found this code (have not tried yet) to be added to functions.php 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 );
What do you suggest?