widget javascript code is slow

Avatar
  • updated
  • Fixed
Including http://userecho.com/s/js/widget-1.1.js and popup widget slows down the loading of my site.

I have included it as the last <script> tag to avoid slowing down the page loading.

Suggestions:
1) Minify/compress http://userecho.com/s/js/widget-1.1.js
2) Check userecho.com for server bottlenecks, since we see "opening radbox.userecho.com" as the last message in browser when page opens slow.

For now I'm considering removing popup and having a simple link to the forum.
Pinned replies
Avatar
Sergey Stukov co-founder
  • Answer
  • Fixed
UPD:
now with widget version 1.3 we
1) Widget loading is asynchronous with site
2) Widget code minified and gzipped
3) Widget is served from Amazon cloud service

and now it's fast and scalable

Hello
we start continuously monitor your site main page loading time

1) Average total time is 2.50ms and http://userecho.com/s/js/widget-1.1.js takes about 170ms in parallel with other files.
we think this fast enought

Please report additional info at which page of your site you have this issue. And we check it.

We plan to move http://userecho.com/s/js/widget-1.1.js to Amazon or Akamai CDN Cloud service soon
Avatar
Sergey Stukov co-founder
We started moving to Amazon S3 Services
Avatar
Sergey Stukov co-founder
UPD:
now with widget version 1.3 we
1) Widget loading is asynchronous with site
2) Widget code minified and gzipped
3) Widget is served from Amazon cloud service
Avatar
Sergey Stukov co-founder
You need replace widget code on your site to migrate on new version
Avatar
Sergey Stukov co-founder
  • Answer
  • Fixed
UPD:
now with widget version 1.3 we
1) Widget loading is asynchronous with site
2) Widget code minified and gzipped
3) Widget is served from Amazon cloud service

and now it's fast and scalable

Hello
we start continuously monitor your site main page loading time

1) Average total time is 2.50ms and http://userecho.com/s/js/widget-1.1.js takes about 170ms in parallel with other files.
we think this fast enought

Please report additional info at which page of your site you have this issue. And we check it.

We plan to move http://userecho.com/s/js/widget-1.1.js to Amazon or Akamai CDN Cloud service soon
Avatar
Richard Sawyer
I'm still finding the widget pretty slow. First load is typically 5 sec. After that it's instantaneous. What can we do to make first load faster?