Rails 5.2 HTTP2 Early Hint nopush support

HTTP2 Early Hint support is added and will be released in 5.2


However there is no way to specify nopush in early hints when using javascript_include_tag / stylesheet_link_tag

Preload spec:


This is necessary since there are servers with HTTP2 push support for early hints like Nginx


Also for fonts / JS, the current helpers does not support adding crossorigin attribute

5.2.x helper source: