Blank page for 5sec while using requirejs with AMD

68 Views Asked by At

I have run into an strange issue recently while using requirejs and AngularAMD for asynchronously loading modules. The site is loading perfectly but there is a blank white page for about 5 seconds(random time as i have too many dependencies) until all the dependencies are loaded by requirejs.

The browser pre-loader is also hidden and blank page is displayed, and after about 5 seconds, whoosh all content is visible.

0

There are 0 best solutions below