ã¢ããã£ãŒã³ã°ã«ãŒãã¯ããµã€ãã®ããŒãæéã1ç§å¢å ãããšæ¬¡ã®ãããªçµæã«ãªããšãã調æ»ãå®æœããŸããã
- ããŒãžãã¥ãŒã®11ïŒ æžå°ã
- 顧客æºè¶³åºŠã®16ïŒ ã®äœäžã
- 蚪åè ã®è³Œå ¥è ãžã®ã³ã³ããŒãžã§ã³çã7ïŒ æžå°ããŸãã
ã¢ãã€ã«è³Œå ¥è ã®40ïŒ ããªã³ã©ã€ã³ã¹ãã¢ãé¢ãããã®ããŒãžã¯3ç§ä»¥äžèªã¿èŸŒãŸããŸãã
ãã®èšäºã§ã¯ãWordPressã®æé©åã®ãããã¯ã«ã€ããŠèª¬æããŸãã ä»åŸã®èšäºã§ãã®ãããã¯ãããããè°è«ããããã«ãã³ã³ãã¹ããéå¬ããŠããŸãããã®èšäºã«ã¯å«ãŸããŠããªãWordPressã®æé©åã«é¢ããæšå¥šäºé ããéããã ãã ã æãå®å šã§æçšãªæé©åã®ãã³ãã®äœæè ã«ã¯ã VPS 1024ã1幎éæäŸãããŸãã èšäºã®æåŸã«ãWordPressæé©åã®å®éšçšã«ç¡æã®Cloud VPSãç»é²ããããã®ãªã³ã¯ããããŸãã
æé©åããåã«WordPressã®ããã©ãŒãã³ã¹ããã¹ããã
ãµã€ãã®èªã¿èŸŒã¿æéã決å®ããŸãããã ãã¹ãã«ã¯ã GTMetrixãµãŒãã¹ã䜿çšããŸãã
ãããã¯ãŒã¯ã§ã®ããŒãžèªã¿èŸŒã¿æé2.62ç§ã
ãŸãããµã€ããµãŒãã¹WebPageTestã確èªããŠãã ããã 以äžã®æ€èšŒçµæã
ãµã€ãã®æåã®èªã¿èŸŒã¿æéã¯2.112ç§ã§ãã ãµã€ãã®ãªããŒãæéïŒ1.325ç§ã
WordPressããŒããæé©åãã
æ倱ãªãã°ã©ãã£ãã¯ãå§çž®ãã
WordPressããŒãïŒããã³ãã¹ãŠã®ã¡ãã£ã¢ãã¡ã€ã«ïŒã®ç»åãæé©åããã«ã¯ã WP Smush.itãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããŸã ã 次ã«ãWordPress管çããã«ã®[ã¡ãã£ã¢]ã»ã¯ã·ã§ã³ã«ç§»åãã[Bulk Smush.it]ãã¯ãªãã¯ããŸãã 䜿çšæžã¿ã®ã°ã©ãã£ãã¯ã¯ãæ倱ãªãå§çž®ãããŸãã
CSSã¹ãã©ã€ãã䜿çšãã
CSSã¹ãã©ã€ãã䜿çšããŠããµãŒããŒèŠæ±ã®æ°ãæžããããšãã§ããŸãã ã¹ãã©ã€ãããŒãã«ã¯ããµã€ãã®å°ããªã°ã©ãã£ãã¯èŠçŽ ã®1ã€ã®å€§ããªç»åã§ãã CSSã®ãããã§ã background-positionããããã£ã䜿çšããŠåèŠçŽ ãåå¥ã«è¡šç€ºã§ããŸãã
ã¹ãã©ã€ãã®äž»ãªå©ç¹ã¯ãäžåºŠã«ãã¹ãŠã®èŠçŽ ãäžåºŠã«ããŒãããHTTPãªã¯ãšã¹ãã®æ°ãæžããããšã§ãã
ã¹ãã©ã€ããäœæããã«ã¯ã spriteme.orgãµãŒãã¹ã䜿çšã§ããŸãã SpriteMeãªã³ã¯ããã©ãŠã¶ã®ããã¯ããŒã¯ããŒã«ç§»åããŸãã æé©åããWebãµã€ããéããããã¯ããŒã¯ããŒã®SpriteMãã¯ãªãã¯ããŸãã
å³åŽã®ãµãŒãã¹ãŠã£ã³ããŠãéããWordPressããŒãç»åããã¹ãã©ã€ããäœæã§ããŸãã [ ã¹ãã©ã€ããäœæ]ãã¯ãªãã¯ããŠäœæããŸãã ä»ã®ç»åããã®ãŠã£ã³ããŠã«ç§»åããŠãã¹ãã©ã€ãã«çµåããããšãã§ããŸãã [ã¹ãã©ã€ãã®äœæ]ãã¯ãªãã¯ããåŸãWordPressããŒããå€æŽãããŠãããããã¹ãŠã®ã³ã³ãããŒã«ãé 眮ãããŠããããšã確èªããŸãã SpriteMeã¯å®å šã«ã¯æ©èœããŸãããåé¡ãçºçããå Žåã¯ãèªåã§ã¹ãã©ã€ããå®è¡ããå¿ èŠããããŸãã ãã¹ãŠããŸããã£ãå Žåã¯ã[ CSSã®ãšã¯ã¹ããŒã ]ãã¯ãªãã¯ããŸãã ãµã€ãã§å€æŽããå¿ èŠã®ããCSSãå«ãæ°ãããŠã£ã³ããŠãéããŸãã çµæã®ã¹ãã©ã€ããããŠã³ããŒãããWordPressããŒããã©ã«ããŒã«ä¿åããŸãã CSSããã¹ããšãã£ã¿ãŒã§ããŒããéããŸãã Sprite MeãæäŸããã«ãŒã«ã«åŸã£ãŠãã¹ãã©ã€ãã«çµåãããç»åãèŠã€ããŠãCSSã䜿çšããã¹ãã©ã€ãã«çœ®ãæããŸãã CSSãç·šéãããããµã€ãã®ãã¶ã€ã³ãå€æŽãããŠããªãããšã確èªããŸãã ä»ã®äººã®ãã³ãã¬ãŒããç·šéãããšããCSSãããã°ããã»ã¹ã«ã¯æéããããå ŽåããããŸãã
SpriteMeã圹ã«ç«ããªãå Žåã¯ã Sprite Generator CSSãµãŒãã¹ã䜿çšããŠãããŒãã€ã¡ãŒãžã®ã»ããããã¹ãã©ã€ããçæã§ããŸãã CSS-sprites.comã瀺åããããã« ãç»åãåå¥ã«ã¢ããããŒãããã®ã§ã¯ãªããç»åã»ãããäžåºŠã«ããŠã³ããŒãã§ããããããã®ãµãŒãã¹ã¯åªããŠããŸãã
èªå·±çæãããCSSã¹ãã©ã€ãã«ã€ããŠã¯ã CSS Background Image SpritesïŒA Beginner's Guideããã³ç°¡åã§äŸ¿å©ãªCSSã¹ãã©ã€ãã®äœæãåç §ããŠãã ããã
WordPressç»åã®æé©å
ãµã€ãã«åçãã¢ããããŒããããšãã¯ãåçã®æªäœ¿çšã¹ããŒã¹ïŒããšãã°ãçœãèæ¯ïŒãåãåããåçã®ãµã€ãºãããã°äžã®å¿ èŠãªãµã€ãºã«çž®å°ããããšãå¿ããªãã§ãã ããã 倧ããªç»åãã¢ããããŒããã å¹ ãšé«ãã®å±æ§ã䜿çšãããšãç»åã®èªã¿èŸŒã¿ã«æéãããããŸãã ãŸããç»åãã¢ããããŒããããšãã«ãããã®å±æ§ãåžžã«äºåå®çŸ©ããŸãã
ãã¡ã€ã«åœ¢åŒ
ç»åãããŠã³ããŒãããåã«ãããããæé©ãªåœ¢åŒã§ä¿åãããŠããããšã確èªããŠãã ããã æé©ãªåœ¢åŒã¯ãPNGïŒ8/24ãããïŒãJPGãGIFïŒå°ããªåççšïŒã§ãã å°æ°ã®è²ã®ã€ã©ã¹ãã¯ãPNG 8ãããã§é©åã«ä¿åãããŸãã å€æ°ã®è²ã®åçãç»åã¯JPEGã§é©åã«ä¿åãããŸãïŒä¿åæã«æäœå質ã䜿çšãããšãç»åãèŠèŠçã«æãªãããŸããïŒã ãã®ã¢ããã€ã¹ã¯åœããåã®ããã«æãããããããŸããããããŠã³ããŒãããç»åã®éãå€§å¹ ã«æžããããšãã§ããŸãã
æé«å質ã§ã®ä¿åïŒ494.5 kbïŒïŒ
äžå質ïŒ94.34 kbïŒã§ä¿åïŒ
ã°ã©ãã¿ãŒãšã¢ãã¿ãŒ
Gravatarã䜿çšãããšããµã€ãã®ããã©ãŒãã³ã¹ãäœäžããŸãã ã¢ãã¿ãŒã衚瀺ããå¿ èŠããªãå Žåã¯ãWordPress管çããã«ã®[èšå®] -> [ ãã£ã¹ã«ãã·ã§ã³ ]ã»ã¯ã·ã§ã³ã§ã¢ãã¿ãŒããªãã«ããããšãã§ããŸãã
ããªãã¯ä»ã®æ¹æ³ã§è¡ãããšãã§ããŸãïŒ
- cronã«ããgravatarã¢ãã¿ãŒã®ãã£ãã·ã¥ã
- ã³ã¡ã³ãã§ã¢ãã¿ãŒããã£ãã·ã¥ããŸãã
- ã¢ã«ãŠã³ããgravatarã«é¢é£ä»ããããŠããªããŠãŒã¶ãŒã®ããã«ããŠãŒã¶ãŒããšã«ã¢ãã¿ãŒç»åã®ã³ããŒã1ã€ä¿æããŸãã
FV Gravatar Cacheãã€ã³ã¹ããŒã«ãããããã©ã°ã€ã³èšå®ã§cronæäœãæå¹ã«ããå¿ èŠããããŸãã
ããã§ãããã«ã¿ã¹ã¯ãéå§ã§ããŸãã
jQuery Imageã®é 延èªã¿èŸŒã¿
JQuery Image lazy load WPã䜿çšãããšããŠãŒã¶ãŒãç»é¢ã§ç»åã衚瀺ããŠãããšãã«ã®ã¿åçãããŠã³ããŒãã§ããŸãã éçãã¡ã€ã«ãçæãããã£ãã·ã¥ã䜿çšããŠããå Žåãé¢æ°ã¯æ©èœããªãå ŽåããããŸãã ãã®æ©èœãæå¹ã«ããã«ã¯ã jQuery Image Lazy Load WPãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããŸãã 競åããBJ Lazy Loadããã³Lazy Loadãã©ã°ã€ã³ã®ãã¹ããå®æœãããŸãããããããã®ãã©ã°ã€ã³ã®çµæã¯ããã¹ãããããµã€ãã§å¹³å0.40ç§ãJQuery Image lazy load WPãããæªãããšãå€æããŸããã
ããã¹ãä»ãã®åçã䜿çšããªãã§ãã ãã
ããã¹ãã®ã¿ã®åçããµã€ãã«è¿œå ããã®ã¯åŸçã§ã¯ãããŸããã ããã«ããããµãŒããŒãžã®ã¯ãšãªã®æ°ãå¢å ããæ€çŽ¢ãšã³ãžã³ãç»åå ã®ããã¹ããæ£ããèªã¿åããªããªããŸãã å¯èœã§ããã°ãããŽã«CSSã¹ã¿ã€ã«ã®ããã¹ãã䜿çšããŸãã Google㯠ããŠã§ãäžã§äœ¿çšããããã®è±å¯ãªãã©ã³ãã»ãããæäŸããŠããŸããããã¯ãå€ãã®å Žåãããã¹ãä»ãã®ç»åãæŸæ£ããã®ã«åœ¹ç«ã¡ãŸãã
ãµã€ãã®ã¯ãªãŒã³ã¢ãã
æªäœ¿çšã®æ¡åŒµæ©èœãç¡å¹ã«ããŸãã ããã«ãããCPUãã¹ãã£ã³ã°ã®è² è·ã軜æžã§ããŸãã åè¿°ã®P3ãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããŸã ãããã«ãããã©ã®ãã©ã°ã€ã³ãããå€ãã®ã¡ã¢ãªãæ¶è²»ãããµã€ãå šäœã®ããã©ãŒãã³ã¹ã«æªåœ±é¿ãäžãããã確èªã§ããŸãã
ãã³ã°ããã¯ãšãã©ãã¯ããã¯ãç¡å¹ã«ããïŒãªãã·ã§ã³ïŒ
ãã³ããã¯ã¯ãå¥ã®æçš¿ã«ãªã³ã¯ãããšãã«äœæãããã³ã¡ã³ãã®ã¿ã€ãã§ãã ã³ã¡ã³ãå ã®å¥ã®æçš¿ãåç §ãããšãæçš¿ã®äœæè ã®ã³ã¡ã³ãã«ãã³ããã¯ã衚瀺ãããŸãã
ãã©ãã¯ããã¯-ç¹å¥ãªãªã³ã¯ä»ãã®ã³ã¡ã³ãã®ã¿ã€ãã éåžžããã©ãã¯ããã¯ãåãå ¥ãããããã°ã¯ãæçš¿ã®æåŸã«ãªã³ã¯ãé 眮ããŸãã ãªã³ã¯ã¯å¥ã®ããã°ã«æ¿å ¥ãããå ã®æçš¿ã®ã³ã¡ã³ãã«äœ¿çšãããŸãã
ãããã®æ©èœãå¿ èŠãªãå Žåã¯ãç¡å¹ã«ããŠããµãŒããŒã®ãªãœãŒã¹ã解æŸã§ããŸãã WordPress管çããã·ã¥ããŒãã§ã [èšå®] -> [ ãã£ã¹ã«ãã·ã§ã³ ]ã«ç§»åãã [èšäºãããªã³ã¯ãããŠããããã°ãžã®éç¥ãè©Šã¿ã]ããã³[ä»ã®ããã°ïŒãã³ããã¯ããã³ãã©ãã¯ããã¯ïŒããã®ãªã³ã¯éç¥ãèš±å¯ãã]ãç¡å¹ã«ããŸãã å€æŽãä¿åããããšãå¿ããªãã§ãã ããã
ã³ã¡ã³ãå ã®ã¹ãã ã®éãæžãã
WordPressã®ããã©ã«ãã®ã€ã³ã¹ããŒã«ã«å«ãŸããŠããAkismetãã©ã°ã€ã³ã䜿çšãããšãã³ã¡ã³ãå ã®ã¹ãã ã®éãå€§å¹ ã«æžãããæçµçã«ãµãŒããŒã®è² è·ãæžããããšãã§ããŸãã
ãã£ãã·ã¥ãšçž®å°
DNSã«ãã¯ã¢ããã1ã5åã®ç°ãªããã¹ãåã«å¶éãã
ãã©ãŠã¶ãWebãµãŒããŒãšã®ãããã¯ãŒã¯æ¥ç¶ã確ç«ããåã«ããã©ãŠã¶ã¯ãµã€ãåãIPã¢ãã¬ã¹ã«è§£æ±ºããŸãã DNSã¬ã³ãŒãã¯ãã¯ã©ã€ã¢ã³ããã©ãŠã¶ãŒãšãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ãã£ãŠãã£ãã·ã¥ã§ããŸãã æ£ãããšã³ããªããŸã ã¯ã©ã€ã¢ã³ããã£ãã·ã¥ã«ããå Žåãé 延ã¯ãããŸããã ãã ããã¯ã©ã€ã¢ã³ãããããã¯ãŒã¯äžã§DNSã«ãã¯ã¢ãããå®è¡ããå¿ èŠãããå ŽåãDNSãµãŒããŒã®å Žæã«ãã£ãŠã¯ãé 延ãéåžžã«å€§ãããªãå¯èœæ§ããããŸãã DNSã«ãã¯ã¢ããæéã®ççž®ã¯ãä»ã®çš®é¡ã®ã¯ãšãªãããéèŠã§ãã
ä»ã®ãã¹ãåãããªãœãŒã¹ïŒç»åãCSSãã¡ã€ã«ãJavaScriptãã¡ã€ã«ãªã©ïŒãèŠæ±ãããã³ã«ããµã€ã蚪åè ã®DNSã«ãã¯ã¢ããã®æ°ãå¢ãããŸãã
ãã¹ãåãå¥ã®ãã¡ã€ã³ãŸãã¯ãµããã¡ã€ã³ã«ããå ŽåãDNSã«ãã¯ã¢ããã®åæ°ãå¢ããŸãã
pic1.sitename.ruâ pic2.sitename.ruâ google.com
ã³ã³ãã³ããååŸãããªãœãŒã¹ã®éãæ倧4ã5ã«å¶éããŸãã
ãµã€ãã§äœ¿çšãããŠãããã¹ãŠã®å€éšãªãœãŒã¹ã衚瀺ããã«ã¯ããµã€ãã®Firefoxã§Firebugãéãã[ NET] -> [ ãã¹ãŠ]ã»ã¯ã·ã§ã³ã«ç§»åããŸãã
ãã®ã«ãŒã«ã®è©³çŽ°ã«ã€ããŠã¯ãYahooïŒ éçºè åãã
JavaScriptãšCSSãå€éšã«ãã
JavaScriptãšCSSãå¯èœãªéãå€éšãã¡ã€ã«ã«æã¡èŸŒã¿ãŸãã ããã«ãããç°ãªãCSSãã¡ã€ã«ãããã¡ã€ã«ãåéããJavaScriptãã¡ã€ã«ãçµåã§ããŸãã
CCSãã¡ã€ã«ãžã®ãªã³ã¯ãäžçªäžã«ãJavaScriptãã¡ã€ã«ãžã®ãªã³ã¯ãäžã«çœ®ã
JavaScriptã¯ããŒãžã®æ©èœãå€æŽããå¯èœæ§ããããããã»ãšãã©ã®ãã©ãŠã¶ãŒã¯æåã«ä»ã®ãªãœãŒã¹ãããŒãããåã«æåã«é 眮ãããJavaScriptãã¡ã€ã«ã解æããŸãã ããã«ãããã³ã³ãã³ãã®ããŠã³ããŒãã®äžŠååãæžããããšãã§ããŸãã
ã¹ã¯ãªãããäžçªäžã«é 眮ãããšãJavaScriptã®èªã¿èŸŒã¿ãå®äºãããŸã§ã蚪åè ã«ç©ºçœã®ããŒãžã衚瀺ãããå ŽåããããŸãã ããã¯ããã©ãŒãã³ã¹ã«æªåœ±é¿ãäžããå¯èœæ§ããããŸãã ãããã£ãŠãã¹ã¯ãªããã¯ããŒãžã®äžéšã«é 眮ããå¿ èŠããããŸãã
CSSãã¡ã€ã«ã¯ãããŒãžäžéšã®ããããŒã«é 眮ããå¿ èŠããããŸãã ããã§ãªãå Žåãè² è·ã®äžŠååã«æªåœ±é¿ãåãŒãå¯èœæ§ããããŸãã
ãã£ãã·ã¥ãšçž®å°ã®æå¹å
Use Google Librariesãã€ã³ã¹ããŒã«ããŠæå¹ã«ããŸã ã WordPressã§é åžãããJavaScriptã©ã€ãã©ãªã®äžéšã¯ã Google AJAX Libraries APIã§ããã¹ããããŠããŸã ã ãã©ã°ã€ã³ã䜿çšãããšãWordPressã€ã³ã¹ããŒã«ã®ãã¡ã€ã«ã䜿çšãã代ããã«ãWordPressã§Googleã®CDNã䜿çšã§ããŸãã ãã®ã¢ãããŒãã®å©ç¹ã®è©³çŽ°ã«ã€ããŠã¯ãèšäºãGoogleã«jQueryããã¹ãããã3ã€ã®çç±ããåç §ããŠãã ããã
ãŸãã W3 Total Cacheãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããŠã¢ã¯ãã£ãåããŸãã ã¡ã¢ãªå ã®å¹æçãªãã£ãã·ã¥ãæå¹ã«ããã«ã¯ããµãŒããŒã«Memcachedãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã Ubuntu 14.04ã§Infobox Cloud VPSã䜿çšããŸãã
Memcachedãã€ã³ã¹ããŒã«ããŸãã
apt-get install memcached <strong>/etc/memcached.conf</strong>: #/etc/memcached.conf #Memcached , -d # logfile /var/log/memcached.log # -m 256 # -p 11211 # localhost -l 127.0.0.1
Memcachedãåèµ·åããŸã
/etc/init.d/memcached restart
PHPã®MemcachedãµããŒãã¢ãžã¥ãŒã«ãã³ã³ãã€ã«ããŠã€ã³ã¹ããŒã«ããŸã
apt-get install php5-dev libmemcache-dev pecl download memcache tar xzvf memcache-2.2.7.tgz cd memcache-2.2.7/ phpize && ./configure --enable-memcache && make cp modules/memcache.so /usr/lib/php5/20121212/ echo 'extension=memcache.so' >> /etc/php5/apache2/php.ini /etc/init.d/apache2 restart
W3 Total Cacheã§çž®å°ãæ©èœãããã«ã¯ãJavaãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã
apt-get -y install software-properties-common add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer
javaã³ãã³ãã®å Žæãç¹å®ã§ããŸã
which java
ãŸããçž®å°ã®ããã«ãyuicompressorãå¿ èŠã§ãã
wget https://github.com/downloads/yui/yuicompressor/yuicompressor-2.4.7.zip unzip yuicompressor-2.4.7.zip cd yuicompressor-2.4.7 apt-get -y install ant ant cd build mkdir /usr/share/yuicompressor mv yuicompressor-2.4.7.jar yuicompressor.jar cp yuicompressor.jar /usr/share/yuicompressor/
[ããã©ãŒãã³ã¹]-> [çž®å°]ã»ã¯ã·ã§ã³ã®WordPress管çããã«ã«ç§»åããŸãïŒãã®ãããªã»ã¯ã·ã§ã³ããªãå Žåã¯ããã©ã°ã€ã³ã»ã¯ã·ã§ã³ã«ç§»åããW3 Total CacheãèŠã€ããŠ[èšå®]ãã¯ãªãã¯ããŸãïŒã
Rewrite URL structureããªã³ã«ããŸã ã
HTMLããã³XMLã®æé©åãæå¹ã«ããŸãã
JavaScriptã®æé©åïŒ
CSSã®æé©åïŒ
ã»ã¯ã·ã§ã³ããã©ãŒãã³ã¹ -> ããŒãžãã£ãã·ã¥ã§èšå®ããŸãïŒ
ã»ã¯ã·ã§ã³ããã©ãŒãã³ã¹ -> ãã©ãŠã¶ãã£ãã·ã¥ã§ããã« ïŒ
CDNã䜿çšããå Žåã¯ãå§çž®ãç¡å¹ã«ããŸãã CDNã¯ãã§ã«å§çž®ãããŠããŸãã
ãã©ãŠã¶ãã£ãã·ã¥ã»ã¯ã·ã§ã³ã®CSSãJavaScriptãããã³ã¡ãã£ã¢ã®æé©åïŒ
cdnã䜿çš
CDNã䜿çšãããšãäžçäžã®ããŸããŸãªå Žæããéçã³ã³ãã³ãïŒç»åãCSSãã¡ã€ã«ãJavaScriptãã¡ã€ã«ãªã©ïŒãåä¿¡ã§ããŸãã 蚪åè ã«ãšã£ãŠãå°ççã«è¿ãå Žæã«ãããµãŒããŒããã³ã³ãã³ããããéãéããŸãã CDNã¯ãã»ãšãã©ã®ãã¹ãã£ã³ã°ãããã€ããŒãããéãéçã³ã³ãã³ããåŠçããããã«æé©åãããŠããŸãã ãŸããCDNã¯ãã¡ã€ã³ãµãŒããŒãžã®ãããã¯ãŒã¯ã®è² è·ãæžããããµãŒããŒãéè² è·ã§ã¯ã©ãã·ã¥ããå¯èœæ§ãæžãããŸãã CDNã®ãã1ã€ã®æ©èœã¯ãããŒã¿èªã¿èŸŒã¿ã®äžŠååã®æ¹åã§ãã ã»ãšãã©ã®ãã©ãŠã¶ã§ã¯ãåäžã®ãã¹ãïŒãã¡ã€ã³ãŸãã¯ãµããã¡ã€ã³ïŒããããŠã³ããŒããããªãœãŒã¹ã«å¶éããããŸãã ããŒãžã«10åã®ç»åããã£ããšããŠãããã©ãŠã¶ã¯äžåºŠã«2åã®ç»åããããŠã³ããŒãããŸããã
ãã ãããŸã DNSã«ãã¯ã¢ããã®åé¡ã¯æãŸãããããŸããã Google ããã¢ããã€ã¹ããããŸãïŒ
6åæªæºã®ãªãœãŒã¹ã«å¯ŸããŠ1ã€ã®ãã¹ãã䜿çšããªãã§ãã ããã ãã¹ãäžã®2ã€æªæºã®ãªãœãŒã¹ã¯æ¬åœã«æªãã§ãã 5åãè¶ ãããã¹ãã䜿çšããªãã§ãã ããïŒãµã€ãã®åºåãåŠçãããµãŒããŒãªã©ãå¶åŸ¡ã§ããªããµãŒããŒã¯ã«ãŠã³ãããŸããïŒã
ãã¹ãŠã®ãã¹ãããã®è² è·ã®50ïŒ ä»¥äžãåŠçãããã¹ãããªãããšã確èªããŠãã ããã
CDNã»ããã¢ãã
ãã®äŸã§ã¯ãCloudFlareããCDNãæ§æããŸãã CloudFlareãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããŸãã
1. CloudFlareã§ã¢ã«ãŠã³ããäœæããŸã
2.ãµã€ããè¿œå ããŸãã
3.ããã©ãŒãã³ã¹ãšã»ãã¥ãªãã£ã¬ãã«ãæ§æããæéãã©ã³ãéžæããŸãïŒç¡æãã©ã³ã¯SSLããµããŒãããŠãããã ä»ã®å¶éããããŸã ïŒã
4. DNSãµãŒããŒãå€æŽããŸãã
ãã¡ã€ã³ã®CloudFlare CDN DNS管çã»ã¯ã·ã§ã³ããªã³ã«ããŸãïŒã¯ã©ãŠãã¢ã€ã³ã³ãã¯ãªãã¯ããŠãã¢ã€ã³ã³ããªã¬ã³ãžè²ã«ããŸãïŒã
ãã®åŸã[ãã©ã°ã€ã³]-> [CloudFlare]ã»ã¯ã·ã§ã³ã§ãCloudFlareããCDNãããã¯ãŒã¯ã«ã¢ã¯ã»ã¹ããããã®æ£ããããŒã¿ïŒãã¡ã€ã³åãã¡ãŒã«ãAPIããŒïŒãèšå®ããŸãã
æé©ååŸã®WordPressããã©ãŒãã³ã¹ãã¹ã
GTMetrixãµã€ãæ€èšŒçµæ ã
ãµã€ãã®ããŒãæéã¯1.38ç§ã§ããã æé©ååã®æéã¯2.62ç§ã§ããã
æé©åã®çµæããµã€ãã®èªã¿èŸŒã¿æéã2åã«ççž®ãããŸããã Google Page SpeedãšYahoo! YSlowã
WebPageTestã§ãµã€ãããã§ãã¯ããŸãããã
ãµã€ãã®æåã®èªã¿èŸŒã¿æéã¯1.401ç§ã§ãã ãµã€ãã®ãªããŒãæéã¯0.477ç§ã§ãã æé©åã®åããµã€ãã®æåã®èªã¿èŸŒã¿æéã¯2.112ç§ã§ããã ãµã€ãã®ãªããŒãæé1.325ç§ã
æé©åã®çµæããµã€ãã®æåã®èªã¿èŸŒã¿æéã25ïŒ ççž®ãããŸããã ãµã€ãã®ãªããŒãæéã¯ã»ãŒ3åã«ççž®ãããŸããã
ããã¯ãWordPressãæé©åããããã®æåã®ã¹ãããã«éããªããšç¢ºä¿¡ããŠããŸãã ãã¹ãã§ç¢ºèªããæé©åã®ã¢ã€ãã¢ãtrukhinyuri@infoboxcloud.comã«éä¿¡ããŸãã æšå¥šäºé ã®æè¯ã®ã»ããã«ã€ããŠã¯ãèè ã¯Infoboxãã 1幎éã®VPS 1024ãåãåããŸãã WordPressã®ã€ã³ã¹ããŒã«ãšæé©åãè©Šè¡ã§ããããã«ãCloud VPSã®è©Šçšçã15æ¥éç¡æã§æäŸããŠããŸãã ãã¡ãããç»é²ããŠãã ãã ã
æåããWordPressæé©åïŒ