On Fri, Oct 15, 2010 at 9:51 AM, Kalle Korhonen
<kalle.o.korho...@gmail.com> wrote:
> On Fri, Oct 15, 2010 at 9:19 AM, Howard Lewis Ship <hls...@gmail.com> wrote:
>> On Fri, Oct 15, 2010 at 1:34 AM, stephanos <stephan.beh...@gmail.com> wrote:
>>> http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/
>>> advantages  obviously are reduced traffic+CPU for the server, decreased
>>> latency, increased parallelism and better caching. How big an advantage it
>>> really is probably depends on how sophisticated Tapestry's bundling is.
>>>
>> The only real advantage to fetching from Google is that the browser
>> may fetch more of the JS files in parallel, since the fetching is
>> across multiple hosts.
>
> And that advantage cannot be discounted for. Almost at 60KB, nothing
> else comes close to the size of the Prototype stack in a typical,
> reasonably designed web application if it's not primarily serving the
> heavy media types. Sure it's cached and all, but a small website
> relies primarily on new users to find the site and that 60KB may be
> enough of a turn off because of general lack of responsiveness.
>
> Using a CDN for loading heavy elements is free from web site's
> perspective and it can be done with Tapestry, but it just makes it
> needlessly difficult to do so.

Patches welcome!

>
> Kalle
>
>
>>> At first I wanted to do it quickly because it seemed to be a quick win - but
>>> the more I struggled with Tapestry to do this, the more it was about just
>>> getting it to do it :)
>>>
>>> There was a
>>> http://tapestry.1045711.n5.nabble.com/Tapestry-Central-Tapestry-5-1-and-IE-8-Customizing-Tapestry-td2436846.html#a2436848
>>> thread  about this topic almost a year ago - with no real solution. The last
>>> entry only says 'U could create a new "URIAssetFactory" to obtain assets
>>> from a
>>> external resource' - but I wouldn't even know where to start. I assumed this
>>> might interest other people too, hence the post here :)
>>>
>>>
>>>> You can configure the Tapestry Scriptaculous Path to get prototype library
>>>> in google.
>>>
>>> Isn't that an oxymoron? Setting the 'tapestry.scriptaculous' to fetch
>>> prototype - or am I not seeing something? :)
>>>
>>> I already had a look at the 'tapestry.scriptaculous' and
>>> 'tapestry.scriptaculous.path' configuration variable and it seems it only
>>> works for resources out of a JAR - when I played with it somewhere in the
>>> stacktrace it said LocalAsset or something similar...
>>> --
>>> View this message in context: 
>>> http://tapestry.1045711.n5.nabble.com/Fetch-Prototype-library-via-Google-DNS-tp3212754p3213334.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to