top | item 5828605

(no title)

luv2code | 12 years ago

Jamie, I am getting about 10 errors a second in my console:

  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1 e.(anonymous function) reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1
Pretty print the error location from chrome:

  e.setInterval = function() {
        var e = t.call(arguments, 0), n = e[0];
        return e[0] = function() {
            try {
                n.apply(this, arguments)
  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' (repeated 1589 times)
            } catch (e) {
                throw TraceKit.report(e), e
            }
        }, r.apply(this, e)
    }
The proxy at my work doesn't allow web sockets, and I think this might be related.

Also, I noticed that there are at least 3 different third party services being called (superfish, pusherapp and intercom). All of these are ancillary to the main functionality, right?

I haven't even got my feeds imported yet, and the app is already pulling down 2 MB. superfish in particular is super heavy. I think I would prefer a lighter payload.

discuss

order

jamiebikies|12 years ago

Superfish? I'm not even using superfish. Intercom is so users can contact me and pusher is so I can push you new entries without requiring a reload.

luv2code|12 years ago

yikes. It was a browser extension that uses superfish to inject ads. the extension allows you to disable this feature, but it still pulls in superfish. https://chrome.google.com/webstore/detail/orbvious-interest/...

I removed the extension and the payload is more like 1MB. Still seems hefty but not as much of a concern to me.

I also noticed that content wasn't gzipped. should be a simple matter to add that to nginx.

mrcasual|12 years ago

What Pusher plan are you subscribed to and how's that working out considering the spike in traffic/simultaneous users?