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
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
68
去啊无线前端的一天
ningzbruc
1
200
React & Component
ningzbruc
0
54
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
280
KISSY.Base - all about that Base
ningzbruc
0
140
Hammer.js
ningzbruc
1
350
淘宝旅行门票iPad版开发
ningzbruc
0
150
Travel on KISSY mini
ningzbruc
0
210
Events
ningzbruc
2
130
Other Decks in Technology
See All in Technology
形式手法を使って仕様をコーディングしよう
mikanichinose
0
180
3つのアプローチで目指す チームを強くするAI駆動開発
thkt
0
120
[2026 Oracle Technical Deep Dive] OCI AI Resilience -OCIのセキュリティ対策機能をきちんと使いこなす- (2026年9月17日開催)
oracle4engineer
PRO
0
130
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
140
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
2
220
メルペイ 会計システム概要と歴史
mewuto
0
170
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
1
270
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
440
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
0
120
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
430
今こそ知りたいAmplifyGen2
mkdev10
2
150
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
210
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1.6k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Six Lessons from altMBA
skipperchong
29
4.5k
Ethics towards AI in product and experience design
skipperchong
2
410
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
710
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
The Language of Interfaces
destraynor
162
27k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
GitHub's CSS Performance
jonrohan
1033
470k
Thoughts on Productivity
jonyablonski
76
5.4k
Transcript
[Cache,TimeStamp,Combo] ] {
Cache 日常发布鸟,添加了好多屌爆了的功能! 为毛线上还没生效呢? 缓存问题,清下缓存就行了! 用户不会清缓存怎么办? 甭鸟它,刷新几次或过段时间就好了... 已经有不少用户投诉鸟... 嗯...没问题,我加个时间戳就好了
TimeStamp 我擦!YUI3 Loader没法加时间戳?! 难我不倒,给loader hack一下,让它支持时间戳 我简直就是个天才
Cache Again? 用户反映页面加载慢... 又一个牛掰的日常发布鸟,有时间戳,去除缓存不用愁,一口气上五楼! 我日... 加上时间戳后每次更新都造成所有YUI模块和组件都重新加载,哪怕是一个 小小的修改,这时候又需要考虑缓存问题了,我了个擦...
Combo? 缓存不是你想清,想清就想清,如今又要我把缓存存回来,闹哪样? 看来要使大招了!Combo解耦!! 啥玩意儿?虽然听不懂,但是貌似很厉害的样纸! 将文件分类解耦,把YUI模块和组件文件放到一个请求一起combo, 页面逻辑的代码放到另外一个请求一起combo,这样一来就可以缓存 大部分不常改的文件,又不影响页面逻辑文件的更新
Decoupling Combo 举个栗子!
groups & comboBase
None