You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current state-of-the-art is to put scripts in the <head> tag and use the async or defer attributes. This allows your scripts to be downloaded ASAP without blocking your browser.
Currently, all scripts are added to the end of the body tag. However, I have been testing moving they to the head tag on some projects and I get less flicker effects when loading pages with multiple plugins.
Describe alternatives you've considered
No other alternatives, just move scripts to the head tag.
Additional context
@REJack as a maintainer of the underlying AdminLTE package, do you think it is safe to move scripts to the head tag?
The text was updated successfully, but these errors were encountered:
I personally used often the AdminLTE scripts in head, I'm not a real friend of "end of body scripts". I will test it with some examples and give you a feedback tomorrow.
Is your request related to a problem? Please describe.
Not a problem, just an improvement...
Describe the solution you'd like
This Stackoverflow post states next:
Currently, all scripts are added to the end of the
body
tag. However, I have been testing moving they to thehead
tag on some projects and I get less flicker effects when loading pages with multiple plugins.Describe alternatives you've considered
No other alternatives, just move scripts to the
head
tag.Additional context
@REJack as a maintainer of the underlying AdminLTE package, do you think it is safe to move scripts to the
head
tag?The text was updated successfully, but these errors were encountered: