Re: [twitter-dev] jQuery being loaded multiple times using @anywhere

2010-04-16 Thread Abraham Williams
Have a look at the Google Analytics Asynchronous page:

http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html


Abraham

2010/4/16 M. Edward (Ed) Borasky 

> On 04/16/2010 01:51 PM, Dan Webb wrote:
> > Hi Matt,
> >
> > At the moment there are 2 references to jQuery.  We'd rather load in
> > our own version of JQuery rather than detecting it in partner pages so
> > we can be assured of the version we are running on top of.  The reason
> > its loaded twice is that it's used both on the client and on the
> > server that exists in a hidden iframe.  A large amount of users will
> > have google's jQuery cached so it doesn't slow performance too much.
> > That being said we will continue to tune @anywhere and removing
> > external dependencies will be something we'll definitely be looking
> > at.
> >
> > Thanks,
> >
> > Dan
>
> Thanks to Twitter for @anywhere and a commitment to fast pages. Google
> now uses page load speed in its ranking algorithms, and I'm axing a
> bunch of slow WordPress plugins (including - wait for it - Google
> Analytics). ;-)
>
> --
> M. Edward (Ed) Borasky
> borasky-research.net/m-edward-ed-borasky
>
> "A mathematician is a device for turning coffee into theorems." ~ Paul
> Erdős
>
>
> --
> Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] jQuery being loaded multiple times using @anywhere

2010-04-16 Thread M. Edward (Ed) Borasky
On 04/16/2010 01:51 PM, Dan Webb wrote:
> Hi Matt,
> 
> At the moment there are 2 references to jQuery.  We'd rather load in
> our own version of JQuery rather than detecting it in partner pages so
> we can be assured of the version we are running on top of.  The reason
> its loaded twice is that it's used both on the client and on the
> server that exists in a hidden iframe.  A large amount of users will
> have google's jQuery cached so it doesn't slow performance too much.
> That being said we will continue to tune @anywhere and removing
> external dependencies will be something we'll definitely be looking
> at.
> 
> Thanks,
> 
> Dan

Thanks to Twitter for @anywhere and a commitment to fast pages. Google
now uses page load speed in its ranking algorithms, and I'm axing a
bunch of slow WordPress plugins (including - wait for it - Google
Analytics). ;-)

-- 
M. Edward (Ed) Borasky
borasky-research.net/m-edward-ed-borasky

"A mathematician is a device for turning coffee into theorems." ~ Paul Erdős


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] jQuery being loaded multiple times using @anywhere

2010-04-16 Thread Abraham Williams
There is the freenode #twitterapi channel.

Abraham

On Fri, Apr 16, 2010 at 15:06, Peter Denton  wrote:

> Is there an IRC channel for anywhere? Id love to chat with some folks about
> what Im experiencing in testing.
>
>
> On Fri, Apr 16, 2010 at 1:51 PM, Dan Webb  wrote:
>
>> Hi Matt,
>>
>> At the moment there are 2 references to jQuery.  We'd rather load in
>> our own version of JQuery rather than detecting it in partner pages so
>> we can be assured of the version we are running on top of.  The reason
>> its loaded twice is that it's used both on the client and on the
>> server that exists in a hidden iframe.  A large amount of users will
>> have google's jQuery cached so it doesn't slow performance too much.
>> That being said we will continue to tune @anywhere and removing
>> external dependencies will be something we'll definitely be looking
>> at.
>>
>> Thanks,
>>
>> Dan
>>
>> On Fri, Apr 16, 2010 at 8:49 AM, Matt  wrote:
>> > We've just implemented @anywhere's hovercard feature on our website
>> > and noticed that in addition to the initial loading of jQuery from
>> > Google which we were already doing, by including the Twitter script it
>> > loads jQuery 2 or 3 more times from Google. This should be fixed to
>> > only load jQuery once if it is not already detected.
>> >
>> > Here is the script we're using:
>> >
>> > http://platform.twitter.com/anywhere.js?
>> > id=OURAPIKEYISHERE&v=1">
>> > 
>> > twttr.anywhere(function(twitter) {
>> >  twitter('.twitter a').hovercards({
>> >infer: true
>> >  });
>> > });
>> > 
>> >
>> >
>> > --
>> > Subscription settings:
>> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>> >
>>
>>
>>
>> --
>> Dan Webb
>> Front-end Engineer, Web Client
>> d...@twitter.com / @danwrong
>> +1 415 425 5631
>>
>
>


-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] jQuery being loaded multiple times using @anywhere

2010-04-16 Thread Peter Denton
Is there an IRC channel for anywhere? Id love to chat with some folks about
what Im experiencing in testing.

On Fri, Apr 16, 2010 at 1:51 PM, Dan Webb  wrote:

> Hi Matt,
>
> At the moment there are 2 references to jQuery.  We'd rather load in
> our own version of JQuery rather than detecting it in partner pages so
> we can be assured of the version we are running on top of.  The reason
> its loaded twice is that it's used both on the client and on the
> server that exists in a hidden iframe.  A large amount of users will
> have google's jQuery cached so it doesn't slow performance too much.
> That being said we will continue to tune @anywhere and removing
> external dependencies will be something we'll definitely be looking
> at.
>
> Thanks,
>
> Dan
>
> On Fri, Apr 16, 2010 at 8:49 AM, Matt  wrote:
> > We've just implemented @anywhere's hovercard feature on our website
> > and noticed that in addition to the initial loading of jQuery from
> > Google which we were already doing, by including the Twitter script it
> > loads jQuery 2 or 3 more times from Google. This should be fixed to
> > only load jQuery once if it is not already detected.
> >
> > Here is the script we're using:
> >
> > http://platform.twitter.com/anywhere.js?
> > id=OURAPIKEYISHERE&v=1">
> > 
> > twttr.anywhere(function(twitter) {
> >  twitter('.twitter a').hovercards({
> >infer: true
> >  });
> > });
> > 
> >
> >
> > --
> > Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
> >
>
>
>
> --
> Dan Webb
> Front-end Engineer, Web Client
> d...@twitter.com / @danwrong
> +1 415 425 5631
>


Re: [twitter-dev] jQuery being loaded multiple times using @anywhere

2010-04-16 Thread Dan Webb
Hi Matt,

At the moment there are 2 references to jQuery.  We'd rather load in
our own version of JQuery rather than detecting it in partner pages so
we can be assured of the version we are running on top of.  The reason
its loaded twice is that it's used both on the client and on the
server that exists in a hidden iframe.  A large amount of users will
have google's jQuery cached so it doesn't slow performance too much.
That being said we will continue to tune @anywhere and removing
external dependencies will be something we'll definitely be looking
at.

Thanks,

Dan

On Fri, Apr 16, 2010 at 8:49 AM, Matt  wrote:
> We've just implemented @anywhere's hovercard feature on our website
> and noticed that in addition to the initial loading of jQuery from
> Google which we were already doing, by including the Twitter script it
> loads jQuery 2 or 3 more times from Google. This should be fixed to
> only load jQuery once if it is not already detected.
>
> Here is the script we're using:
>
> http://platform.twitter.com/anywhere.js?
> id=OURAPIKEYISHERE&v=1">
> 
> twttr.anywhere(function(twitter) {
>  twitter('.twitter a').hovercards({
>    infer: true
>  });
> });
> 
>
>
> --
> Subscription settings: 
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>



-- 
Dan Webb
Front-end Engineer, Web Client
d...@twitter.com / @danwrong
+1 415 425 5631