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
Cutting off the browser fat from your app
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hector Bustillos
October 10, 2013
Technology
320
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cutting off the browser fat from your app
Hector Bustillos
October 10, 2013
More Decks by Hector Bustillos
See All by Hector Bustillos
Saving your Rails applications.
hecbuma
1
100
Other Decks in Technology
See All in Technology
中期計画、2回作ってみた ~業務委託と正社員、両方の視点から~
demaecan
1
620
protovalidate-es を導入してみた
bengo4com
0
160
地球に⽣きるAI —GeoAIと「中間領域」— / AI Living on Earth — GeoAI and the “Intermediate Layer” —
ykiyota
0
190
10倍の生産性を実現するAI駆動並列エージェントのすべて
kumaiu
4
1.3k
Amazon Bedrock AgentCore ワークショップ JAWS UG TOHOKU / amazon-bedrock-agentcore-workshop-jawsug-tohoku-2026
gawa
9
590
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
2.5k
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
360
スキルと MCP ツール、責務をどう分けるか? AI が迷わないインターフェース設計の戦略
cdataj
1
890
エンジニアリング戦略の作り方 / Crafting Engineering Strategy
iwashi86
18
6.2k
フロンティアAIのゲート化と地政学リスク
nagatsu
0
110
Bucharest Tech Week 2026 - Reinventing testing practices in the AI era
edeandrea
PRO
1
130
Agentic Web
dynamis
1
200
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
What's in a price? How to price your products and services
michaelherold
247
13k
ラッコキーワード サービス紹介資料
rakko
1
3.6M
Exploring anti-patterns in Rails
aemeredith
3
400
How to Think Like a Performance Engineer
csswizardry
28
2.6k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
330
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
HDC tutorial
michielstock
2
700
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
400
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
230
Transcript
Thursday, October 10, 13
Hector @hecbuma Thursday, October 10, 13
Add time Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
15 beach houses Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
CFP opens in november Thursday, October 10, 13
Thursday, October 10, 13
magmaconf.com Thursday, October 10, 13
Photos by Thursday, October 10, 13
Thursday, October 10, 13
Cutting off the browser fat from your app Thursday, October
10, 13
browser fat? Thursday, October 10, 13
http://static.rcgroups.net/forums/attachments/2/3/6/3/1/2/a3083784-42-Fat%2520Guy.jpg?d=1267091993 Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
http://www.celebitchy.com/wp-content/uploads/2010/07/fp_5311598_spears_britney_fp1_070110.jpg Thursday, October 10, 13
Thursday, October 10, 13
“I’m not a front-end guy, why should I care?” Thursday,
October 10, 13
Time = Money Thursday, October 10, 13
1 Mississippi Thursday, October 10, 13
http://bitchinfilmreviews.com/wp-content/uploads/2012/06/Happy-Feet.jpg Thursday, October 10, 13
2 Mississippi Thursday, October 10, 13
http://1.bp.blogspot.com/-RM9X-maQqks/ToCkP_ziwHI/ AAAAAAAABDE/ZtMyr67Ar-4/s1600/challenge+accepted+meme +blank.png Thursday, October 10, 13
3 Mississippi Thursday, October 10, 13
http://marco-pivetta.com/doctrine-orm-zf2-tutorial/assets/img/waiting-meme.png Thursday, October 10, 13
4 Mississippi Thursday, October 10, 13
http://www.thereplicapropforum.com/gallery/data/509/300-publicity-photo-26.jpg Thursday, October 10, 13
The most important thing Thursday, October 10, 13
Thursday, October 10, 13
CSS Thursday, October 10, 13
Right - to - Left Thursday, October 10, 13
#active li a {...} Thursday, October 10, 13
a li #active Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Qualified Selectors ul#active {...} Thursday, October 10, 13
Qualified Selectors #active {...} Thursday, October 10, 13
Descendant Selectors body header div{ color: blue; } body header
p{ color: red; } Thursday, October 10, 13
Descendant Selectors .blue-text {color: blue;} .red-text {color: red;} Thursday, October
10, 13
Unqualified Selectors a[data-go^=”page-”]{ display: block; } Thursday, October 10, 13
Chaining .big.blue.text {...} Thursday, October 10, 13
Chaining .big-blue-text {...} Thursday, October 10, 13
Remember Cascade #wrapper ul li a { font-family: 'Helvetica' }
Thursday, October 10, 13
Remember Cascade #wrapper { font-family: 'Helvetica' } Thursday, October 10,
13
Sass Thursday, October 10, 13
Thursday, October 10, 13
Nesting too deep Thursday, October 10, 13
Thursday, October 10, 13
Mixins Thursday, October 10, 13
Thursday, October 10, 13
@extend Thursday, October 10, 13
Thursday, October 10, 13
LEARN CSS Thursday, October 10, 13
Thursday, October 10, 13
css-tricks.com/ all-about-floats/ Thursday, October 10, 13
smacss.com Thursday, October 10, 13
OOCSS github.com/ stubbornella/oocss/wik Thursday, October 10, 13
JS Thursday, October 10, 13
MOVE IT DOWN! Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
ASYNC & DEFER javascript_tag "alert('All is good')", :defer => 'defer'
javascript_include_tag "application", :async => true Thursday, October 10, 13
ID over Classes http://jsperf.com/web-test Thursday, October 10, 13
Use Context on jQuery http://jsperf.com/jquery-context Thursday, October 10, 13
Cached Objects http://jsperf.com/cache-objects Thursday, October 10, 13
Avoid $.each http://jsperf.com/string-join2 Thursday, October 10, 13
IMG Thursday, October 10, 13
It’s all about fewer HTTP requests Thursday, October 10, 13
6 to 8 parallel connections Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
File Types Thursday, October 10, 13
JPEG Thursday, October 10, 13
Thursday, October 10, 13
PNG Thursday, October 10, 13
Thursday, October 10, 13
GIF Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
DO NOT RESIZE! Thursday, October 10, 13
Thursday, October 10, 13
Set height and width! Thursday, October 10, 13
Thursday, October 10, 13
http://www.celebitchy.com/wp-content/uploads/2010/07/fp_5311598_spears_britney_fp1_070110.jpg Thursday, October 10, 13
Serve GZIP Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
gem ‘heroku_rails_deflate’ Thursday, October 10, 13
Rack::Deflater Thursday, October 10, 13
Thursday, October 10, 13
HTML Thursday, October 10, 13
Thursday, October 10, 13
TOOLS Thursday, October 10, 13
kraken.io Thursday, October 10, 13
Thursday, October 10, 13
# NOTE: You will need `multipart-post` gem: # $ gem
install multipart-post require 'rubygems' require 'json' require 'net/https' require 'net/http/post/multipart' url = URI.parse("https://api.kraken.io/file") uploadfile = {:name =>'/Path/To/File.jpg'} auth = { "user" => "your-kraken-username", "pass" => "your-kraken-password", "apikey" => "your-kraken-api-key" }.to_json File.open(uploadfile[:name]) do |file| req = Net::HTTP::Post::Multipart.new url.path, "auth" => auth, "file" => UploadIO.new(file, 'logotyp.png') https = Net::HTTP.new(url.host, url.port) https.use_ssl = true res = https.start() {|conn| conn.request(req)} response = JSON.parse(res.body) if response['success'] puts 'Success. Optimized image URL: ' + response['krakedURL'] else puts 'Fail. Error message: ' + response['error'] end end Thursday, October 10, 13
Chrome Developer tools Thursday, October 10, 13
Thursday, October 10, 13
Thursday, October 10, 13
Retrospectus.com Thursday, October 10, 13
~30sec Thursday, October 10, 13
~6sec Thursday, October 10, 13
Thursday, October 10, 13
` @hecbuma Thanks! Thursday, October 10, 13