Dave's Brain

Browse - Programming Tips - How can I make a browser load a image or element that my site will use?

Date: 2014sep8
Language: html

Q.  How can I make a browser load a image or element that my site will use?

A.  Use prefetch like this:

<!doctype html> <html> <head> <link rel="prefetch href="mygraphic.png"> </head> <body> ...

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.