Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website should render after all contents are loaded #37

Open
cheekujodhpur opened this issue Apr 12, 2017 · 1 comment
Open

website should render after all contents are loaded #37

cheekujodhpur opened this issue Apr 12, 2017 · 1 comment

Comments

@cheekujodhpur
Copy link
Collaborator

The website rendering has a glitch. it tries to render before the background image is loaded, thus making all the elements float to the left and appear compressed until the image loads. This effect exists for a fraction of a second but should preferably be fixed.

@thechargedneutron
Copy link
Contributor

thechargedneutron commented Jun 19, 2017

https://www.upwork.com/hiring/development/11-tips-to-optimize-javascript-and-improve-website-loading-speeds/
The above link contains reason for slow rendering. It states "First, it’s important that all elements in the "head" section are pre-loaded, before the visitor sees anything in browser, then all subsequent elements are ordered to load in a logical way. Any JavaScript inside the "head" section can slow down a page’s rendering"
So I removed the js tags in head.html. Review it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants