Adding preload to the header
-
I’m trying to see where in the code I can add something like this
header( sprintf( 'Link: <%s>; rel=preload; as=%s', $cached_css_critical, 'style' ) ) header( sprintf( 'Link: <%s>; rel=preload; as=%s', $cached_js, 'script' ) ) header( sprintf( 'Link: <%s>; rel=preload; as=%s', $cached_css, 'style' ) )
to have it preload from the header. https://blog.cloudflare.com/using-http-2-server-push-with-php/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding preload to the header’ is closed to new replies.