Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cache, TimeStamp & Combo
Search
ningzbruc
January 24, 2013
Technology
140
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cache, TimeStamp & Combo
Cache
ningzbruc
January 24, 2013
More Decks by ningzbruc
See All by ningzbruc
如何写出一个优秀的开源库
ningzbruc
0
66
去啊无线前端的一天
ningzbruc
1
190
React & Component
ningzbruc
0
45
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
270
KISSY.Base - all about that Base
ningzbruc
0
140
Hammer.js
ningzbruc
1
340
淘宝旅行门票iPad版开发
ningzbruc
0
140
Travel on KISSY mini
ningzbruc
0
210
Events
ningzbruc
2
130
Other Decks in Technology
See All in Technology
書籍セキュアAPIについて
riiimparm
0
360
クラウドを使う側から、作る側へ / 大吉祥寺.pm 2026前夜祭
fujiwara3
7
1.6k
Vポイント分析基盤におけるデータモデリング20年史
taromatsui_cccmkhd
4
780
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
210
設計レビューとAIハーネスで向き合う AIが生み出した新しいボトルネックの対処法 / Design Reviews and AI Harnesses Against New Bottlenecks Created by AI
nstock
6
530
VPCセキュリティ対応の最新事情
nagisa53
1
340
AI時代におけるテストの基礎の再定義 / Rethinking the Fundamentals of Testing in the AI Era
mineo_matsuya
15
5.9k
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
8
1.3k
2026年のソフトウェア開発を考える(2026/07版) / Agentic Software Engineering 2026-07 Findy Edition
twada
PRO
30
17k
どこまでAIに任せるか 〜確率論と決定論の境界決定〜
shukob
0
540
AIエージェントがあれば技術書なんてすぐ書けるでしょ→無理でした
watany
6
980
A Bag-of-Documents Model for Query Specificity
dtunkelang
0
110
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
780
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
430
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
740
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
410
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Technical Leadership for Architectural Decision Making
baasie
3
450
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
200
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Transcript
[Cache,TimeStamp,Combo] ] {
Cache 日常发布鸟,添加了好多屌爆了的功能! 为毛线上还没生效呢? 缓存问题,清下缓存就行了! 用户不会清缓存怎么办? 甭鸟它,刷新几次或过段时间就好了... 已经有不少用户投诉鸟... 嗯...没问题,我加个时间戳就好了
TimeStamp 我擦!YUI3 Loader没法加时间戳?! 难我不倒,给loader hack一下,让它支持时间戳 我简直就是个天才
Cache Again? 用户反映页面加载慢... 又一个牛掰的日常发布鸟,有时间戳,去除缓存不用愁,一口气上五楼! 我日... 加上时间戳后每次更新都造成所有YUI模块和组件都重新加载,哪怕是一个 小小的修改,这时候又需要考虑缓存问题了,我了个擦...
Combo? 缓存不是你想清,想清就想清,如今又要我把缓存存回来,闹哪样? 看来要使大招了!Combo解耦!! 啥玩意儿?虽然听不懂,但是貌似很厉害的样纸! 将文件分类解耦,把YUI模块和组件文件放到一个请求一起combo, 页面逻辑的代码放到另外一个请求一起combo,这样一来就可以缓存 大部分不常改的文件,又不影响页面逻辑文件的更新
Decoupling Combo 举个栗子!
groups & comboBase
None