Jump to content


Photo

about cdn


  • Please log in to reply
4 replies to this topic

#1 Soho Software Team

Soho Software Team

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 135 posts

Posted 19 March 2015 - 07:51 AM

http://en.wikipedia....elivery_network

 

The Extjs, UNIGui Js, touch Js other JS files, image files, video files and other static resource files saved on the CDN server
1) WEB improve service response, because CDN optimization based ISP
2) while reducing bandwidth web services, because CDN assign data streams to a different CDN service node
 
将Extjs、UNIGui Js、touch Js 等其他JS文件、图片文件、视频文件等静态资源文件保存在CDN服务器上
1)提高WEB服务响应,因为CDN会根据ISP优化
2)同时降低web服务的带宽,因为CDN将数据流分配到不同CDN服务节点

 

例如:
For example:

 

在现有

In the existing

 
UniServerModule.ExtRoot = D: \ ext-4.2.2.1144 \
UniServerModule.UniRoot = D: \ uni-0.99.0.1159,
UniServerModule.TouchRoot = D: \ touch-2.4.1 \
UniServerModule.UniMobileRoot = D: \ unim-0.99.0.1159 \
 
基础上增加

Based on the increase

 
UniServerModule.ExtRootUrl = http: //*.yourdomain.com/ext-4.2.2.1144/
UniServerModule.UniRootUrl = http: //*.yourdomain.com/uni-0.99.0.1159/
UniServerModule.TouchRootUrl = http: //*.yourdomain.com/touch-2.4.1/
UniServerModule.UniMobileRootUrl = http: //*.yourdomain.com/unim-0.99.0.1159/
 
打开网页生成如下代码:

Open the Web page to generate the following code:

 
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-ext.css" />
<Link rel = stylesheet href = "/ ext-4.2.2.1144 / resources / css / ext-all.css" />
<Script src = "/ ext-4.2.2.1144 / ext-all.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ext-unicommon-min.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ext-sync-min.js"> </ script>
<Script src = "/ ext-4.2.2.1144 / locale / ext-lang-zh.js"> </ script>
<Script type = "text / javascript">
 
/{这里指向CDN服务URL 也就是UniServerModule.ExtRootUrl

// URL CDN service point here is UniServerModule.ExtRootUrl

Ext.Loader.setConfig ({enabled: true, paths: {"Ext.uni": "/ uni-0.99.0.1159 /"}});
 
</ Script>
 
<Script src = "/ uni-0.99.0.1159 / AlwaysOnTop.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ClearButton / ClearButton.js"> </ script>
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / ClearButton / ClearButton.css" />
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-xtheme-common.css" />
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-xtheme.css" />
<Script src = "/ uni-0.99.0.1159 / ext-unigui-min.js"> </ script>

 

 

 

not cache  & first load unigui

 

CDN VS no cdn

cdn not cache first load unigui

 

 

no cdn no cache first load unigu

 

Attached Files


  • 0

#2 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 338 posts
  • LocationNova Mutum - MT - Brasil

Posted 20 March 2015 - 11:11 AM

+1


  • 0

#3 Soho Software Team

Soho Software Team

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 135 posts

Posted 20 March 2015 - 01:33 PM

+1


  • 0

#4 Soho Software Team

Soho Software Team

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 135 posts

Posted 26 March 2015 - 08:50 AM

+1


  • 0

#5 agmoro7622

agmoro7622

    Member

  • uniGUI Subscriber
  • PipPip
  • 44 posts
  • LocationBogotá, Colombia

Posted 07 June 2017 - 06:37 PM

Hi,

 

Any idea if this can be implemented,

 

thanks

 

 

 

http://en.wikipedia....elivery_network

 

The Extjs, UNIGui Js, touch Js other JS files, image files, video files and other static resource files saved on the CDN server
1) WEB improve service response, because CDN optimization based ISP
2) while reducing bandwidth web services, because CDN assign data streams to a different CDN service node
 
将Extjs、UNIGui Js、touch Js 等其他JS文件、图片文件、视频文件等静态资源文件保存在CDN服务器上
1)提高WEB服务响应,因为CDN会根据ISP优化
2)同时降低web服务的带宽,因为CDN将数据流分配到不同CDN服务节点

 

例如:
For example:

 

在现有

In the existing

 
UniServerModule.ExtRoot = D: \ ext-4.2.2.1144 \
UniServerModule.UniRoot = D: \ uni-0.99.0.1159,
UniServerModule.TouchRoot = D: \ touch-2.4.1 \
UniServerModule.UniMobileRoot = D: \ unim-0.99.0.1159 \
 
基础上增加

Based on the increase

 
UniServerModule.ExtRootUrl = http: //*.yourdomain.com/ext-4.2.2.1144/
UniServerModule.UniRootUrl = http: //*.yourdomain.com/uni-0.99.0.1159/
UniServerModule.TouchRootUrl = http: //*.yourdomain.com/touch-2.4.1/
UniServerModule.UniMobileRootUrl = http: //*.yourdomain.com/unim-0.99.0.1159/
 
打开网页生成如下代码:

Open the Web page to generate the following code:

 
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-ext.css" />
<Link rel = stylesheet href = "/ ext-4.2.2.1144 / resources / css / ext-all.css" />
<Script src = "/ ext-4.2.2.1144 / ext-all.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ext-unicommon-min.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ext-sync-min.js"> </ script>
<Script src = "/ ext-4.2.2.1144 / locale / ext-lang-zh.js"> </ script>
<Script type = "text / javascript">
 
/{这里指向CDN服务URL 也就是UniServerModule.ExtRootUrl

// URL CDN service point here is UniServerModule.ExtRootUrl

Ext.Loader.setConfig ({enabled: true, paths: {"Ext.uni": "/ uni-0.99.0.1159 /"}});
 
</ Script>
 
<Script src = "/ uni-0.99.0.1159 / AlwaysOnTop.js"> </ script>
<Script src = "/ uni-0.99.0.1159 / ClearButton / ClearButton.js"> </ script>
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / ClearButton / ClearButton.css" />
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-xtheme-common.css" />
<Link rel = stylesheet href = "/ uni-0.99.0.1159 / css / uni-xtheme.css" />
<Script src = "/ uni-0.99.0.1159 / ext-unigui-min.js"> </ script>

 

 

 

not cache  & first load unigui

 

CDN VS no cdn

cdn not cache first load unigui

 

 

no cdn no cache first load unigu

 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users