0

Is there any way to cache images on load and use them from cache when they are needed.

I am using jQuery.

0

1 Answer 1

1

you can cache (or pre-load) an image with javascript like this:

<script> img1= new Image(); img1.src="yourimagefile.jpg"; </script> 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.