Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question