Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
定制版设计开发vs响应式设计开发之性能及流量
Search
d2forum
May 20, 2013
530
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
定制版设计开发vs响应式设计开发之性能及流量
d2forum
May 20, 2013
Transcript
9 slides
关于性能 • jQuery – 94K • KISSY-Seed – 49.9K •
Zepto – 9.7K 13年5月20⽇日星期⼀一
13年5月20⽇日星期⼀一
13年5月20⽇日星期⼀一
• 2010年, 我国⼿手机平均⺴⽹网速为50Kbps,也就 是 50/8 = 6.25KB/S 全球倒数第⼆二! • 下载jQuery,
需要 94/6.25 = 15.04S • 下载KISSY-Seed, 需要49.9/6.25 =7.98S • 下载Zepto, 需要9.7/6.25 = 1.55S 13年5月20⽇日星期⼀一
• 加载基础脚本超过8S的⺴⽹网站, 你的反应是? • 基础脚本 + 业务脚本 + 样式表 =
? • 还有图⽚片,HTML⽂文档等。。。 13年5月20⽇日星期⼀一
定制的优势 • 更轻量级的脚本 – 不⽤用兼容IE,Loader可以更加简洁 – 不⽤用兼容IE,Event可以更加简洁 – 不⽤用兼容IE,DOM 可以更加简洁
– 。。。。。 13年5月20⽇日星期⼀一
定制的优势 • ⽆无需Hack的CSS .inline-block{ display: inline-block; } .elem:hover{ //Some Code
.inline-block{ display: inline-block; *display: inline; *zoom:1 } .hover, .elem:hover{ //Some 13年5月20⽇日星期⼀一
定制的优势 • 放⼼心的使⽤用更强⼤大的CSS选择器 – ~ > + :first …. •
简单的动画 $el.anim(props, duration, fn) .el-cls {transition:all, duration, fn} 13年5月20⽇日星期⼀一
定制的优势 正如移动设备本⾝身, 轻便⽽而⼜又强⼤大 13年5月20⽇日星期⼀一
More Decks by d2forum
See All by d2forum
TMS的PHP特性
d2forum
0
1.7k
Leap Motion体感实战
d2forum
0
1.3k
跨终端产品实践
d2forum
12
2k
Touching Future—s01-e01
d2forum
2
1k
KissyCake
d2forum
3
880
贡献标准.s01.e02
d2forum
3
1.4k
一淘响应式设计实践
d2forum
10
1.1k
响应式web设计与实现介绍
d2forum
8
910
定制版设计开发vs响应式设计开发
d2forum
0
280
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
800
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
Building AI with AI
inesmontani
PRO
1
1.4k
Well, that’s weird…
csswizardry
1
110
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Documentation Writing (for coders)
carmenintech
77
5.6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Become a Pro
speakerdeck
PRO
31
6.4k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630