[Pkg-javascript-commits] [sockjs-client] 179/434: Use sockjs from CDN

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 6579d413d2c3b07a26a89282477bd5609fab11bd
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Tue Oct 25 12:47:20 2011 +0100

    Use sockjs from CDN
---
 README.md | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index e6f8e35..d7f87a4 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ but instead of `WebSocket` there is a `SockJS` Javascript object.
 First, you need to load SockJS JavaScript library, for example you can
 put that in your http head:
 
-    <script src="http://sockjs.github.com/sockjs-client/sockjs-latest.min.js">
+    <script src="http://cdn.sockjs.org/sockjs-0.0.min.js">
       </script>
 
 After the script is loaded you can establish a connection with the
@@ -179,9 +179,14 @@ JsonP polling          | any                           |          no
 Deployment
 ----------
 
-There should be a proper CDN to host generated SockJS library, but
-there isn't one yet. In the meantime you can use releases hosted on
-Github: http://sockjs.github.com/sockjs-client/ .
+In order to utilize best performance you should use the SockJS-client
+releases hosted on SockJS CDN. You should use a version of sockjs-client
+that supports the protocol used by your server. For example:
+
+    <script src="http://cdn.sockjs.org/sockjs-0.0.min.js">
+      </script>
+
+A list of files hosted on a CDN is available here: http://sockjs.github.com/sockjs-client/ .
 
 For server-side deployment tricks, especially about load balancing and
 session stickiness, take a look at the

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list