Resources, containing query strings cannot be cached. You’ll get an improved speed score if you remove those query strings.
This is because the default behavior for the WordPress wp_enqueue_script function is to append a string specifying the script version number.
When developers add a version number, it is concatenated to the end of the path as a query string. If no version is specified or set to false, then WordPress automatically adds a version number equal to the current version of WordPress you are running.