I want to preload image in header i.e. Logo, so what is the code for that and where do I put that logo?


  • You could try using <link rel="preload" as="image" href="important.png"> but I don't think there is suppor for images preload outside of newer chrome versions Jul 26, 2021 at 12:13
  • where do I add this code? Jul 26, 2021 at 14:18
  • between the <head>...</head> tags, you can use hooks (that is the preferred way) but you can also add it directly in between those tags Jul 26, 2021 at 14:20


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.