I want to preload image in header i.e. Logo, so what is the code for that and where do I put that logo?
Thanks!
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this community
<link rel="preload" as="image" href="important.png">
but I don't think there is suppor for images preload outside of newer chrome versions<head>...</head>
tags, you can use hooks (that is the preferred way) but you can also add it directly in between those tags