…the header.min.js is generated by Fast Velocity Minify
From what I see on that screenshot, the js file take roughly he than a static image, despite being significantly bigger.
Furthermore, that’s a static file and its not generated realtime.
I see all static assets slow, not simply the js file… so that’s nothing to do with FVM.
The slow response, is simply how long your server needs to serve all static files and it basically means your server is slow. You should be using a cdn instead of a static subdomain, or better yet, ditch the subdomain and just use cloudflare.
If you already use a cdn, repeat the test a few times. It takse multiple requests for the CDN to start caching the static assets on each edge location.
What you should check however, is if the js filename changes on every pageview.
This is covered on the faqs, and if it happens it means you need to exclude some dynamic js file that keeps changing the name on pageview, and therefore triggers FVM to also change it’s name.
https://wordpress.org/plugins/fast-velocity-minify/faq/
I don’t think it’s that though.
It’s just your server is slow seving static files.