I’ve been able to implement server push for CSS and JS, using the Cloudflare Plugin and the added line of code in wp/config, as recommended by Cloudflare.
On another site I’m inlining CSS and preloading my self-hosted fonts, which load super quick.
However, they are called every time due to the preload hint, unlike Server Push that keeps a diary and doesn’t push them twice until the next session.
If I just set the link header in .htaccess as Header add Link <"/fonts/poppins.woff2>; rel=preload", as per the Apache documentation, the fonts are pushed, but the problem is the fonts are still loaded normally as well.
Adding the full <“font/poppins.woff2>; rel=preload; as=font/woff2; crossorigin” only preloads the fonts rather than pushes them.
It’s not that I need to save any speed, but rather don’t want to waste people’s resources.
Any help is appreciated.