[ 17 posts ] Go to page 1, 2 Next

monkeyboy2048

  • Joined: Tue Aug 07, 2012 12:58 pm
  • Posts: 1
  • Offline
  • Profile
Tags:

YUI3 CDN over SSL

Post Posted: Tue Aug 07, 2012 1:01 pm
+1-
I understand that the YUI3 CDN doesn't support SSL. However, the FAQ hinted that this functionality may be coming sometime. How close is this to being done? Is it even on the radar right now? I can't speak for everybody, but it would save me a lot of headaches to be able to simply reference these files over CDN, and my project requires SSL.

Jenny Donnelly

YUI Developer

  • Username: jenny
  • Joined: Tue Dec 09, 2008 5:00 pm
  • Posts: 58
  • GitHub: jenny
  • Gists: jenny
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: YUI3 CDN over SSL

Post Posted: Tue Aug 07, 2012 3:13 pm
+0-
At this time, SSL YUI assets are not publicly hosted on the Yahoo! CDN. Please refer to this blog article for some of reasoning behind this:

http://wonko.com/post/javascript-ssl-cdn

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile
Tags:

Re: YUI3 CDN over SSL

Post Posted: Thu Aug 09, 2012 3:06 am
+0-
That reasoning is fine (even though it looks like ericf disagrees). However that ideology also stops the uptake of YUI in certain scenarios.

eg: Corporate app, internal use. I would love to promote YUI3. I can't. I need https. My audience is internal. As an internal app I am trusted. I have no chance my IT team will roll out a server side combination service to rollup YUI modules. I've tried managing my own static rollups but that quickly becomes a major headache to manage especially trying to move forward to new yui releases (ie the rollups change and need reconfiguration and re-deployment).

Upshot of it is the overheads of using YUI3 in this context prevent me from doing so. I use jquery.

I just don't think it's worth throwing that opportunity out. Give me the choice please and educate users on the arguments for and against. Then leave it up to us.

Mark Woon

YUI Contributor

  • Username: markwoon
  • Joined: Thu Jan 20, 2011 6:25 pm
  • Posts: 9
  • GitHub: markwoon
  • Gists: markwoon
  • Offline
  • Profile

Re: YUI3 CDN over SSL

Post Posted: Thu Aug 09, 2012 11:29 pm
+0-
What Simon said -- please give users the choice.

I'd always assumed there was some technical issue. I don't agree with Ryan's reasoning, but if that's the way it's going to be, at least update the FAQ to state that.

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 6:03 am
+0-
The last thing Yahoo! should do is give users a bad choice. On the slim chance that the CDN origin were to be hacked and exploit code injected into the source somewhere that leaked sensitive user information from your secure application that could be used as a second stage attack (it would be fairly trivial to add a submit event handler that leaked usernames/passwords to a third party).

Unlikely? Probably.

Disasterous? Absolutely.

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile
Tags:

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 7:55 pm
+0-
I agree with an assessment of risk, I don't however agree with your judgement of bad choice. I'm not the only one who doesn't agree with this.

Google have been offering HTTPS CDN distribution of javascript for *4 years*
http://blog.httpwatch.com/2008/11/27/go ... aries-api/
https://ajax.googleapis.com/ajax/libs/j ... ery.min.js
https://ajax.googleapis.com/ajax/libs/j ... -ui.min.js

I don't need Yahoo to be the usage police.

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 8:55 pm
+0-
They're Yahoo!'s servers. The way legal liability works, it kind of requires them to be the 'usage police'.

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 9:54 pm
+0-
I don't buy that line of argument. If you could point me to some precedence maybe I would. In any case it doesn't seem to be a problem for Google does it?

Over https they publish via CDN
Chrome Frame
Dojo
Ext Core
jQuery
jQuery UI
MooTools
Prototype
script_aculo_us
SWFObject
WebFont Loader

I suspect even only for https, their exposure and uptake of these services will be an order of magnitude beyond what Yahoo deals with YUI on their http CDN. Yet 4 years in there's no debate. They simply do it and let people get on with building product.

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 10:16 pm
+0-
It's never been tested, and different legal teams have different degrees of comfort with 'never been tested'. But given that there is not usage agreement or an explicit (or even implicit) waiver of liability for the use of the CDN that I've seen. On the other hand, Google *does* have an implicit terms of service for their CDN that includes a liability waiver (https://developers.google.com/terms/ ), so that might factor into the decision on the Google side.

It also may not factor into the decision at all. Ryan certainly always presented the argument from the purely philosophical "this is a bad idea, so we won't support it" position, and Jenny is pointing back to that argument, suggesting the feelings haven't shifted much since Ryan moved on to SmugMug.

And actually, Google did ship YUI3 via their CDN until a few versions ago, when it was removed at the request of the YUI team because the Google JavaScript CDN doesn't support combo loading.

Simon Gilligan

  • Username: sgilligan
  • Joined: Wed Jun 16, 2010 4:35 pm
  • Posts: 76
  • Location: Victoria, Australia
  • Offline
  • Profile

Re: YUI3 CDN over SSL

Post Posted: Fri Aug 10, 2012 10:29 pm
+1-
Well, if it counts for anything my vote is still to offer it.

The risks have been explained clearly, I understand them and would be more than happy to accept some terms and conditions to give me access to a https CDN.
  [ 17 posts ] Go to page 1, 2 Next
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum