T
T
TANK_IST2015-10-27 23:46:32
JavaScript
TANK_IST, 2015-10-27 23:46:32

How to make a preloader for a website?

Now I use it like this: I
load data via ajax
I insert it into the block
I scan the block for resources to load
As a result, some files are loaded twice.
But how to select resources from plain text (before inserting into a block) so as not to load twice
Resources are: just images, background in style, video, audio

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
L0k1, 2015-10-29
@L0k1

without downloading twice, it is unlikely that it will be possible to make a preloader with a percentage display of the download progress
, everything that I found on the Internet is either a fake or a double download

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question