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
HerokuでRailsアプリ運用のパフォーマンス、SEO対策
Search
kon_yu
December 04, 2014
3
3k
HerokuでRailsアプリ運用のパフォーマンス、SEO対策
Salesforce World Tour Tokyo 2014 DevZone で発表した資料
kon_yu
December 04, 2014
Tweet
Share
More Decks by kon_yu
See All by kon_yu
そのライブラリ、続投?それとも解雇?「stay_or_go」で素早く決断! 🚀
konyu
0
240
CTOやフリーランスのキャリアについて
konyu
1
720
石橋を叩いて渡るフリーランスのなり方。マイルド版
konyu
0
55
Pythonで作ったしょうもないもの3連発
konyu
0
140
石橋を叩いて渡るフリーランスエンジニアのなりかた
konyu
0
2.2k
おうちハックLT Roombaでネコを監視してみた
konyu
0
950
Gemの作り方 BacklogのAPIを利用して
konyu
0
1.4k
Processingでクリエイティブコーディング
konyu
0
4.8k
スタートアップツールチラ見せナイト
konyu
0
2.5k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Unsuck your backbone
ammeep
669
57k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
The Pragmatic Product Professional
lauravandoore
32
6.3k
GitHub's CSS Performance
jonrohan
1030
460k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Transcript
)FSPLVͰ3BJMTΞϓϦӡ༻ͷ ύϑΥʔϚϯεɺ4&0ରࡦ גࣜձࣾϕετςΟʔνϟʔ ࠓɹ༎հ!LPO@ZV 4BMFTGPSDF8PSME5PVS5PLZP%FW;POF
͡Ίʹ w 3BJMTͰͷαʔϏεӡ༻ʹ͓͍ͯ w ύϑΥʔϚϯεͷվળ w 4&0ରࡦ w )FSPLVͱී௨ͷ-JOVYαʔόͷڥͱൺֱ w
)FSPLVͳΒͰͷରࡦ w ͦͷଞͷ࠷͓ۙؾʹೖΓͷ(FNʹ͍ͭͯ
ຊʹೖΔલʹ
ͪΐͬͱΞϯέʔτ w ࣗʹͯ·ΔͷʹखΛ্͛ͯɺ গ͠ମΛಈ͔͠·͠ΐ͏ w 4BMFTGPSDFࣾαʔϏεͷར༻ܦݧΛฉ͖·͢
4BMFTGPSDFͰࣄΛ͍ͯ͠Δ
GPSDFDPNͰࣄΛ͍ͯ͠Δ
)FSPLVͰࣄΛ͍ͯ͠Δ DSFEJUIJSPEVTL
"NB[PO8FC4FSWJDF ΛͬͯΔ͚Ͳ༷ࢠΛݟʹདྷͨ DSFEJUGVHVUBCFUBJ@TIZBTIJO
8IPBN* w ࠓɹ༎հ ίϯɹϢεέ w 5XJUUFS!LPO@ZV w #FTU5FBDIFS JODɹ$50
w ΦϯϥΠϯӳޠֶशαʔϏε
IUUQTTQFBLFSEFDLDPNLPOZV IFSPLVEFXCTQBPXPEBUJGBOTJUBIVB
None
#FTU5FBDIFSͱ ଞਓӳޠ ࣗӳޠ ڭࡐͰֶΜͰɺ͕ࣗΘͳ͍ӳޠΛֶ ͞ΕΔ ͕ࣗ͢ӳޠΛͦͷ··ӳޠʹ͠ ͍ͯ͘ͷͰɺ͑Δӳޠֶ͕Δ طଘͷӳձαʔϏε #FTU5FBDIFS
#FTU5FBDIFSͷϨοεϯϑϩʔ 2. ߨࢣ͕ఴͱԻԻ! ͨ͠ʰձจʱΛ෮श 1. WritingϨοεϯͰ! ࣗͷʰձจʱΛ࡞Δ 3. SkypeϨοεϯͰ! ʰϚϯπʔϚϯӳձʱ
Λ࣮ફ ͜ͷԫۚͷ ճస͕ӳޠ ྗΛ্͛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jcc .BYNFNPSZTJ[F 344 QFSXPSLFS VTF6OJDPSO8PSLFS,JMMFS0PN PPN@NJO PPN@NBY
)FSPLVͷ߹ w ڥมΛͯ͠ɺదਖ਼Λݟ͚ͭΔ w ͜ΕΛΒͳ͍ͱɺύϥϝλௐͷͨΊʹ ͍͍ͪͪσϓϩΠ͠ͳ͍ͱ͍͚ͳ͍ w ࢀߟIUUQRJJUBDPN0BLCPXJUFNT FGEGDCF
6OJDPSOͷύϑΥʔϚϯε w 3VCZ͕ܥҎԼͷ߹SVCZܥΛ͍·͠ΐ͏ w 6OJDPSOͷϫʔΧʔϝϞϦΛϝϞϦ༻ྔͰ࠶ىಈ w ($ͷར༻ͰϫʔΧʔ͕ੜ͖͢ΔύϑΥʔϚϯε্ w ࢀߟ w
IUUQTXXXEJHJUBMPDFBODPNDPNNVOJUZUVUPSJBMTIPXUPPQUJNJ[F VOJDPSOXPSLFSTJOBSVCZPOSBJMTBQQ w IUUQXXXTBXBOPCPMZOFUDPOUSJCVUJPOSVCZPVUPG CBOEHD
ී௨ͷ-JOVYαʔόͷ߹ w SCFOWͷΠϯετʔϧ w SVCZͷΠϯετʔϧ w SCFOWJOTUBM w SVCZWFSTJPOʹҎԼΛهड़
)FSPLVͷ߹ w (FNpMFʹҎԼΛهड़ SVCZb ͱॻ͔͍ͯ)FSPLVʹHJUQVTIͰσϓϩΠ ͜Ε͚ͩͰ3VCZͰಈ࡞
3VCZ0VUPG#BOE($ w σΧΠ($͕ΔͱύϑΥʔϚϯεʹӨڹ w ϦΫΤετͱϦΫΤετͷؒʹ($ΛΒͤΔɺ 0VUPG#BOE($Λར༻͢Δ w SFGTIUUQXXXTBXBOPCPMZOFU DPOUSJCVUJPOSVCZPVUPG CBOEHD
ઃఆϑΝΠϧ w (FNpMF SFRVJSFbHDUPPMTPPCHD w DPOpHSV SFRVJSFHDUPPMTPPCHD JGEFpOFE 6OJDPSO)UUQ3FRVFTU
VTF($00#6OJDPSO.JEEMFXBSF FOE
'BTUMZ $%/αʔϏε ͷར༻ w +4 $44 ը૾ͳͲ੩తϑΝΠϧΛ ֎෦$%/αʔϏε͔ΒΞΫηε w ߴʹ੩తϑΝΠϧΛΫϥΠΞϯτ
w ΞϓϦέʔγϣϯαʔόͷΞΫηεΛݮ w ݁ՌɺΞϓϦαʔόͷύϑΥʔϚϯεΞοϓ
ී௨ͷ-JOVYαʔόͷ߹ w 'BTUMZ$%/ͷར༻͢Δ߹ΞΧϯτΛ࡞ͬͯ ΫϨδοτΧʔυΛొͯ͠ɺઃఆͯ͠ɾɾɾ w ݄ʑͷܾࡁଞͱผ w ࡶɾ໘͍͘͞
)FSPLVͷ߹ w 'BTUMZΛ)FSPLVͷը໘͔ΒϘλϯҰൃͰՃ͢ Δ͚ͩ
$034ʹҙ w $SPTT0SJHJO3FTPVSDF4IBSJOH w 8FC'POU"KBYΛ͠Α͏ͱ͢ΔͱɺηΩϡϦςΟΤϥʔͰϒ ϥβʹౖΒΕΔ w ϨεϙϯεϔομʔʹҎԼΛՃͯ͠ճආ w "DDFTT$POUSPM"MMPX0SJHJOIUUQXXXCFTUUFBDIFS
JODDPN w *& ҎԼͩͱ"KBY௨৴ͷࡍʹ᠘͕͋ΔͷͰYISKTͳͲͰݕࡧ w IUUQRJJUBDPNFEP@NJUFNTEGCBCEBD
ϗοτσϓϩΠ w ಛʹҰԿσϓϩΠ͢Δ߹ɺ αʔϏεఀࢭɺϨεϙϯεԆɺϢʔβʹͱͬ ͯ৺Α͘ͳ͍ w αʔϏεΛࢭΊΔ͜ͱͳ͘ɺ σϓϩΠͨ͠ͷ্ཱ͕͕ͪͬͨΒݹ͍αʔϏ εͱΓସΘΔΑ͏ʹ͢Δ
ී௨ͷ-JOVYαʔόͷ߹ w (FNDBQJTUSBOPVOJDPSO w SFGIUUQLSBZKQCMPHUSPVCMFTIPPUJOH SBJMTVOJDPSO ! w ଞʹ৭ʑํ๏͕͋Γ·͢
)FSPLVͷ߹ w 1SFMPBEͰμϯλΠϜͳ͠ w ઃఆํ๏ IFSPLVGFBUVSFTFOBCMFBNZBQQQSFCPPU w ίϚϯυҰൃ؆୯
H[JQѹॖͯ͠৴͢Δ w )5.-ɺ$44ɺ+4ςΩετσʔλΛ ѹॖͯ͠ૹ৴ ϨεϙϯελΠϜΛݮ w $%/αʔϏε$MPVE'SPOU༻͍ͯ͠Δ߹ σʔλసૹྔ͕গͳ͍΄͏͕ࡒʹ͍͞͠
ී௨ͷ-JOVYͷ߹ w OHJOYͰઃఆ͢Δͱ$POGϑΝΠϧʹ H[JQPO H[JQ@IUUQ@WFSTJPO H[JQ@UZQFTUFYUQMBJO UFYUYNM UFYUDTT BQQMJDBUJPOYNM BQQMJDBUJPOYIUNM
YNM BQQMJDBUJPOSTT YNM BQQMJDBUJPOKBWBTDSJQU BQQMJDBUJPOYKBWBTDSJQU H[JQ@CV⒎FSTL H[JQ@NJO@MFOHUI H[JQ@DPNQ@MFWFM H[JQ@QSPYJFEP⒎ H[JQ@EJTBCMF.4*&<>a.P[JMMB H[JQ@WBSZP⒎
)FSPLVͷ߹ w HFNIFSPLVEFqBUFS w H[ѹॖͨ͠)5.-Λฦ͢Α͏ʹ͢Δ w (FNpMFʹՃͯ͋͛͠Δ͚ͩͰ0, ! ! w
ࢀߟIUUQRJJUBDPN0BLCPXJUFNT FDDBDDG
4&0ରࡦ w -JOVYͩͱ8FCαʔόͷઃఆ͢Δͱ͜Ζ͕ͩɺ )FSPLVͦΕ͕ग़དྷͳ͍ͷͰ͕ඞཁ w DBOPOJDBMλάΛ͏߹͋Δ͕ ࠓճͰ3FEJSFDUͰઆ໌͠·͢
SBDLSFXSJUF w 3BJMT63-ͷ࠷ޙඌʹ͕͋Δ߹ɺ3BJMTͷ ༗Γແ͠Λٵऩͯ͘͠ΕΔ͕ɺ 4&0తʹ͖ͭΛ*OEFYJOH͞Εͨ͘ͳ͍߹Ϧϥ Πτ w "QBDIFͱ͔/HJOYΛઃఆͰ͖Εͦͬͪͷઃఆ ϑΝΠϧʹॻ͚Δͱ͜Ζ
ઃఆϑΝΠϧDPOpHSV SFRVJSFSBDLSFXSJUF VTF3BDL3FXSJUFEP SS\? ^ FOE
YYYIFSPLVBQQDPNΛ ϦμΠϨΫτ w )FSPLVͷΞϓϦέʔγϣϯඞͣ YYYIFSPLVBQQDPNͱ͍͏63-Λ༩ w ςετͰ͏ʹେมศར w υϝΠϯΛऔಘͯ͠ຊ൪Ͱ͏ʹɺ(PPHMF͕ ొ͞Εͯ͠·͏͍ͭ
BQQMJDBUJPO@DPOUSPMMFSSCʹ ه ཁ͢ΔʹCFGPSF@pMUFSͰYYYIFSPLVBQQDPNΞΫηε͕དྷͨΒਖ਼͠ ͍63-ϦμΠϨΫτ CFGPSF@pMUFSFOTVSF@EPNBJO SFEJSFDUGSPNIFSPLVBQQGPS4&0 EFGFOTVSF@EPNBJO SFUVSOVOMFTTaIFSPLVBQQDPNdSFRVFTUIPTU QPSU\SFRVFTUQPSU^VOMFTT< >JODMVEF
SFRVFTUQPSU SFEJSFDU@UP\SFRVFTUQSPUPDPM^\'2%/^\QPSU^ \SFRVFTUGVMMQBUI^ TUBUVTNPWFE@QFSNBOFOUMZ FOE
IUUQͱIUUQT͕͋Δ߹IUUQ ʹ౷Ұͯ͠ϦμΠϨΫτ CFGPSF@pMUFSEFBDUJWBUF@TTM ඞཁͳϝιουʹద༻ͤ͞Δ EFGEFBDUJWBUF@TTM JG 3BJMTFOWQSPEVDUJPO SFRVFTUTTM
SFEJSFDU@UPQSPUPDPMIUUQ TUBUVT NPWFE@QFSNBOFOUMZ FOE FOE
࠷͓ۙؾʹೖΓͷ(FNͷհ w ։ൃɺӡ༻͍ͯ͠Δ্ͰศརͰؾʹೖ͍ͬͯΔ (FNΛগ͠հ
ຊ൪ڥͰͷ͏͔ͬΓΛ͙ w HFNSBDLEFWNBSL w ݕূڥͩͱࢥͬͯૢ࡞ͨ͠Β࣮ຊ൪ڥ ϢʔβใΛޡͬͯมߋͦ͠͏ʹͳͬͯώϠϦ ͜ΜͳώϠϦϋοτΛ͙ !
ઃఆ w (FNpMFʹهHFNbSBDLEFWNBSL w EFWFMPQNFOUSCʹه DPOpHSBDL@EFW@NBSLFOBCMFUSVF DPOpHSBDL@EFW@NBSLUIFNF<UJUMF 3BDL%FW.BSL5IFNF(JUIVC'PSL3JCCPOOFX QPTJUJ
POSJHIU pYFEUSVF DPMPSbSFE > w ࢀߟIUUQLPOZVIBUFOBCMPHDPNFOUSZ
ϝʔϧ༰ΛΩϟϓνϟ w (FNMFUUFS@PQFOFS@XFC w ։ൃڥͰૹ৴ϝʔϧΛҰཡͰ༰֬ೝ
ઃఆ w (FNpMFʹهHFNbMFUUFS@PQFOFS@XFC` w SPVUFTSCʹه JG3BJMTFOWEFWFMPQNFOU ɹNPVOU-FUUFS0QFOFS8FC&OHJOF BUMFUUFS@PQFOFS FOE
w ࢀߟIUUQRJJUBDPNLTIPHPJUFNTEBFBCC
Ұ൪େࣄͳ͓Βͤ w ϕετςΟʔνϟʔͰϛυϧ͔ΒγχΞϨϕ ϧͷΤϯδχΞΛืू͍ͯ͠·͢ w )FSPLVΛຊ൪ڥͰ͍ͬͯ·͢ w 8BOUFEMZͰʮϕετςΟʔνϟʔʯͰݕࡧ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ ωνΞɾαϯλϧνΞӺલͷΰϛശͰ .0σΟεΫΛ୳͢ΪΞονϣͷਅࣅΛ͢Δචऀ