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
Cache, TimeStamp & Combo
Search
ningzbruc
January 24, 2013
Technology
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cache, TimeStamp & Combo
Cache
ningzbruc
January 24, 2013
Transcript
8 slides
[Cache,TimeStamp,Combo] ] {
Cache 日常发布鸟,添加了好多屌爆了的功能! 为毛线上还没生效呢? 缓存问题,清下缓存就行了! 用户不会清缓存怎么办? 甭鸟它,刷新几次或过段时间就好了... 已经有不少用户投诉鸟... 嗯...没问题,我加个时间戳就好了
TimeStamp 我擦!YUI3 Loader没法加时间戳?! 难我不倒,给loader hack一下,让它支持时间戳 我简直就是个天才
Cache Again? 用户反映页面加载慢... 又一个牛掰的日常发布鸟,有时间戳,去除缓存不用愁,一口气上五楼! 我日... 加上时间戳后每次更新都造成所有YUI模块和组件都重新加载,哪怕是一个 小小的修改,这时候又需要考虑缓存问题了,我了个擦...
Combo? 缓存不是你想清,想清就想清,如今又要我把缓存存回来,闹哪样? 看来要使大招了!Combo解耦!! 啥玩意儿?虽然听不懂,但是貌似很厉害的样纸! 将文件分类解耦,把YUI模块和组件文件放到一个请求一起combo, 页面逻辑的代码放到另外一个请求一起combo,这样一来就可以缓存 大部分不常改的文件,又不影响页面逻辑文件的更新
Decoupling Combo 举个栗子!
groups & comboBase
None
More Decks by ningzbruc
See All by ningzbruc
如何写出一个优秀的开源库
ningzbruc
0
71
去啊无线前端的一天
ningzbruc
1
220
React & Component
ningzbruc
0
75
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
290
KISSY.Base - all about that Base
ningzbruc
0
150
Hammer.js
ningzbruc
1
370
淘宝旅行门票iPad版开发
ningzbruc
0
170
Travel on KISSY mini
ningzbruc
0
210
Events
ningzbruc
2
140
Other Decks in Technology
See All in Technology
kubellの最新データ分析環境
kubell_hr
2
280
Go でトランザクション、どう書いてますか?
knwoop
2
640
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
7
3.4k
Fukurou Labo_Engineer_Deck
fukuroulabo
0
110
「それ、AIでよくない?」- AI時代の技術発信はオワコンなのか?
estie
1
100
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
160
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
AIエージェントのアーキテクチャ設計
nsatoh
0
580
Well, that’s weird…
csswizardry
3
240
From vibe coding to reliable (agentic) development
jcabot
0
280
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
180
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
The Curse of the Amulet
leimatthew05
4
17k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
970
Optimising Largest Contentful Paint
csswizardry
37
4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Code Review Best Practice
trishagee
74
20k
YesSQL, Process and Tooling at Scale
rocio
174
15k
4 Signs Your Business is Dying
shpigford
187
23k
Why Our Code Smells
bkeepers
PRO
340
58k