On Monday, February 16, 2015 at 11:45:08 AM UTC+1, Sander Elias wrote:
>
> Hi Tomw,
>
> You can use the defer attribute on your script tags. But then again, your 
> app is not showing anything to the user, until angular kicks in (and is 
> largely done). You should show something to the user, even if everything 
> else on your page fails to load.
> adding this right below the body tag will help with your pagespeed:
>
> <div ng-if="false">
>    <h1>Loading the application, please hold on</h1>
>    <div class='aCssSpinner'</div>
> </div>
>
> There are some more things that can be done, but this should put you on 
> the right track.
> Regards
> Sander
>


Hi Sander, 

thanks, clever idea to use ng-if as a switch for a kind of 
angular-fallback. 
BTW, I have been checking quite a few popular sites regarding their 
pagespeed score - and discovered, that my 87/100 is a rather outstanding 
result...

best, tomw 

> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to