So, I loaded up your site and just looked at the google chrome debug
network tab to see the waterfall. It looks like you're *not* minifying
right now (the all.js file isn't minified, and has comments etc in it - it
also took my browser almost two seconds to fetch, although 840ms of that
was waiting time).

A lot of your custom statics have that long delay on them - the
style.rev.css, font-face.rev.css, and all.rev.js all had a big delay from
request to response. They all also have some aggressive "don't cache"
headers. Are you serving these from your app server, rather than from
 nginx directly?

You are also requiring sourcemap stuff (angular-animate.min.js.map) that's
not necessary for a production site. You're also using a local server for
some of your bower components, whereas a CDN would be faster (or superfast
if the user already has that particular resource cached locally).

Finally, you can concat all your partials into a single templateCache file
(I use gulp-angular-templatecache, which reduces the number of XHRs needed
to load the page).

e

On Thu Nov 20 2014 at 1:07:20 PM Anurag <[email protected]> wrote:

> Hello,
> We recently migrated our website, https://www.pley.com, to AngularJS
> 1.2.26 and are currently stuck on trying to make the site load faster.
> Current optimizations include - minification/CDN/compress/concat etc.
>
> Google webmaster tools suggests to "defer" loading JS, but doing that
> results in angularJS not loading correctly.
>
> The page load time is currently ~4seconds, does anyone have suggestions on
> what we can change to make the site load faster?
>
> thx,
> -anurag
>
> --
> Twitter: @anuragphadke (https://twitter.com/#!/anuragphadke)
>
> --
> 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.
>

-- 
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