Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
ããããã¤ãã æ è¡ã¨ãã¤ã¯ã¨ãã©ã¤ãã¨æçã¨å®å®ã好ãã Ubie Discoveryã®ããã°ã©ãã kaeruspoonã«ã¹ã¤ã¼ãã¼ãå°å ¥ãã¦ã¿ã¾ãããå®ã¯ããã¶ãæã«ä½¿ã£ã¦ãããã¨ããã£ãã®ã ãã©ããã®æ°ããkaeruspoonã«ãªã£ã¦ããã¯ã¾ã å°å ¥ãã¦ãªãã£ãã®ã§ãã ã¹ã¤ã¼ãã¼ã¨ããã®ã¯ã主ã«ãã£ãã·ã¥ã¨ä½µç¨ãã¦ä½¿ããã®ã§ãããªããµã¼ãã¨DBã®ããã¯ã¡ã½ããã使ã£ã¦å®ç¾ããã¦ãã¦ãããã¯ã¡ã½ããã«ã¨ããããããããªã¤ãã³ã(DBã¸ã®CRUD)ã®ã¨ãã«ããããå¦ç(expireã使ã£ããã£ãã·ã¥ã®å¤±å¹ãããªãã¨æããã©)ãä¸ç®æã«ã¾ã¨ãããã¨ãã§ãã¾ãã 2007å¹´05æ10æ¥ã®æ¥è¨ã®æ¥è¨ã«ãã©ã°ã¡ã³ããã£ãã·ã¥ã®ãã¨ãæ¸ãã¦ãããã©ãã¹ã¤ã¼ãã¼ã使ãã¨ãã£ã¨ã·ã³ãã«ã«ã§ãã¾ããã¹ã¤ã¼ãã¼ã¯DBãç£è¦ãããã¤ãªã®ã§ãæ®éã¯RAILSROOT/app/modelsã®ä¸ã«ç½®ãã¾ãã c
ååã®ã¨ã³ããªã¼ã§ãDartã®æ¬¡ã¯ãTypeScriptãæ¤è¨¼ãããã¨æ¸ãããã©ããªããèªåã®PCã§ã¯ãVisualStudio for Webã«TypeScriptã®ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ã§ããªãã£ãã®ã§ãTypeScriptã使ããã¨ã諦ãã¾ãããã³ãã³ãã©ã¤ã³ã§ã³ã³ãã¤ã«ã¯ã§ãããã©ãããã§ã¯åä»ãè¨èªã®ã¡ãªããã§ããIDEã«ããè£å®ãåç §æ¤ç´¢ããªãã¼ã ãªãã¡ã¯ã¿ãªã³ã°ãå¹ããªãã®ã§ãã¡ãªã¿ã«ããã°ã©ãã®PCã§ã¯ãã£ããã¤ã³ã¹ãã¼ã«ã§ããã¨ã®ãã¨ããã£ããã ã¨ããããã§ãDartãå®æ¦æå ¥ãããã¨ã決å®ãã¦Dartã§éçºããã¦ãã¾ãã ããã³ãã¨ã³ãé«éåã®Expiresããã ãã¦ãä»æ¥ã®æ¬é¡ãWebã·ã¹ãã ã®ããã³ãã¨ã³ãé«éåã®ã話ã§ããWebã·ã¹ãã ã®é度ã®å¤§ããªããã«ããã¯ã¨ãã¦DBè² è·ãããã¾ããããã©ã¦ã¶å´ã®ã¬ã³ããªã³ã°ãé«éåãã話ã¨ãã¦ããã³ãã¨ã³ãé«éåããã
ããããã¯ãªã¹ãã¹ã·ã¼ãºã³ãªãã§ãããï¼æ¬éã§ãã å··ã§è©±é¡ã®ã¤ã±ã¡ã³ãã¤ãã¤ï¼ä»¥ä¸ã¤ã±ãã¤ï¼ã§ããããã®ãã³iPhoneç¨ãµã¤ãããªã¼ãã³ãã¾ããã ããã«ãããã¦æ°æ©è½ãæè¼ï¼ã¤ã±ã¡ã³åçã«ã¿ã°ãä»ããæ©è½ã¨ãiPhoneã§ã¼ãããçºãã¦ããã ãã§æ¥½ãããã¥ã¼ã¢æ©è½ã§ãã ã¿ã°æ©è½ã¯PCçã«ãæè¼ããã¾ããã®ã§ããã²ãã²ã¿ããªã§è²ããªã¤ã±ã¡ã³ã«ã¿ã°ãä»ãåã£ã¦ãã ãããã ã¿ã°ãä»ããã¨ã§ããªã¹ã¹ã¡ã®ç²¾åº¦ãä¸ããã¾ããï¼ ãã¥ã¼ã¢æ©è½ã¯ãèªåãã²ããããã¤ã±ã¡ã³ãºãiPhoneä¸ã§æ¬¡ãã次ã¸ã¨è¡¨ç¤ºãããæ©è½ã§ãã ãªãã©ã¤ã³ã§ã表示ã§ããæ©è½ä»ãï¼ é»è»ã®ä¸ã§è¦ããè¯ããåä¸ã«ç½®ãã¦çºãããè¯ãã§ãã ããªã好ã¿ã®ã¤ã±ã¡ã³ãã¾ãã¾ããã¤ã±ã¡ã³ãã¤ãã¤ã®ãµã¤ãã¯ãã¡ãï¼ â¦ãã¼ããã¦ã¼ã¶å±¤ããã¶ããªããã ãªããã®è¨äºã ãã¦ãã¦ãæ¬é¡ã¯HTML5ã®æ©è½ã使ã£ãç»åã®ãªãã©ã¤ã³è¡¨ç¤ºã«ã¤ãã¦
ä¸ã®è¨äºã§DBã®ã¢ã¯ã»ã¹è»½æ¸ã¯è§£æ¶ããããã®ã®ãä»åº¦ã¯mongrelã«å¯¾ããåéçãã¤ããªã®è¦æ±ãsend_fileçã§ãã¡ãã¡ç¸æããã®ã¯ãã«ãã«ããã ãã¡ã®ãµã¼ãã¼é¡ã¯æåã«Squidãç«ã£ã¦ãã¦Apacheã®ãã¡ã¤ã«ã¯å¤§ä½ãSquidãè¿ãã¦ããã¦ãããã§ãããRailsããã®send_dataãsend_fileãåæã«æ¾ããã¨æããããããããã£ã¦ãTCP_MISSã«ãªãã ã¨ããã£ããããªãã¨ãä¸å¯§ã«Railså´ã§Cache-Control: privateãããã©ã«ãã§ããã£ã¦ããã ã¨ãããããã®ãã£ãã·ã¥ã³ã³ããã¼ã«ãsend_fileæã®ã¿ç¡è¦ããããã«ããã headers.delete('Cache-Control')ããã¦ããã¡ã¤ã«ã®æ´æ°æéï¼Last-Modifiedãããï¼ã追å ãã createatã¯èªåã§newããå¾time.nowãçªã£è¾¼ãã§ããã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}