Answer the question
In order to leave comments, you need to log in
Remove scripts down?
Hello. I would like to know the expediency of removing scripts at the bottom of the page. Google complains on tests, but in fact the page looks better if included in the header, because then nothing blinks between DOM loading and js / css. And is it worth splitting the css file into several if there are only 2000 lines of code, and in minified form it takes only 25kB.
Answer the question
In order to leave comments, you need to log in
I would watch everything depending on the task, if it requires it (that is, workability is ensured in this way) - then yes.
And sometimes scripts will be thrown into the header on the document.onload, which should work out the element that has not yet been created - and puzzle over what is wrong ...
For several years now, recommendations have been hanging on Google and Yandex, and speed checks usually say that remove all design and scripts down.
Use sass, and your scripts are blinking, probably because you don’t use it (window.onload/$(document).ready)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question