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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ningzbruc
January 24, 2013
Technology
1
130
Cache, TimeStamp & Combo
Cache
ningzbruc
January 24, 2013
Tweet
Share
More Decks by ningzbruc
See All by ningzbruc
如何写出一个优秀的开源库
ningzbruc
0
60
去啊无线前端的一天
ningzbruc
1
170
React & Component
ningzbruc
0
42
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
260
KISSY.Base - all about that Base
ningzbruc
0
120
Hammer.js
ningzbruc
1
340
淘宝旅行门票iPad版开发
ningzbruc
0
140
Travel on KISSY mini
ningzbruc
0
200
Events
ningzbruc
2
130
Other Decks in Technology
See All in Technology
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
2.1k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
200
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
220
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
680
20260204_Midosuji_Tech
takuyay0ne
1
150
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
160
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
74
5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
80
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Producing Creativity
orderedlist
PRO
348
40k
Practical Orchestrator
shlominoach
191
11k
Paper Plane
katiecoart
PRO
0
46k
Bash Introduction
62gerente
615
210k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Speed Design
sergeychernyshev
33
1.5k
Done Done
chrislema
186
16k
Marketing to machines
jonoalderson
1
4.6k
Transcript
[Cache,TimeStamp,Combo] ] {
Cache 日常发布鸟,添加了好多屌爆了的功能! 为毛线上还没生效呢? 缓存问题,清下缓存就行了! 用户不会清缓存怎么办? 甭鸟它,刷新几次或过段时间就好了... 已经有不少用户投诉鸟... 嗯...没问题,我加个时间戳就好了
TimeStamp 我擦!YUI3 Loader没法加时间戳?! 难我不倒,给loader hack一下,让它支持时间戳 我简直就是个天才
Cache Again? 用户反映页面加载慢... 又一个牛掰的日常发布鸟,有时间戳,去除缓存不用愁,一口气上五楼! 我日... 加上时间戳后每次更新都造成所有YUI模块和组件都重新加载,哪怕是一个 小小的修改,这时候又需要考虑缓存问题了,我了个擦...
Combo? 缓存不是你想清,想清就想清,如今又要我把缓存存回来,闹哪样? 看来要使大招了!Combo解耦!! 啥玩意儿?虽然听不懂,但是貌似很厉害的样纸! 将文件分类解耦,把YUI模块和组件文件放到一个请求一起combo, 页面逻辑的代码放到另外一个请求一起combo,这样一来就可以缓存 大部分不常改的文件,又不影响页面逻辑文件的更新
Decoupling Combo 举个栗子!
groups & comboBase
None