{"id":5242,"date":"2014-12-22T09:58:50","date_gmt":"2014-12-22T00:58:50","guid":{"rendered":"http:\/\/www.spiceworks.co.jp\/blog\/?p=5242"},"modified":"2024-05-20T18:07:08","modified_gmt":"2024-05-20T09:07:08","slug":"zend_cache%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%80%81%e3%83%9c%e3%83%88%e3%83%ab%e3%83%8d%e3%83%83%e3%82%af%e3%81%a8%e3%81%aa%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e5%87%a6%e7%90%86%e3%82%92%e6%9c%80","status":"publish","type":"post","link":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242","title":{"rendered":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f"},"content":{"rendered":"<p>\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4eca\u4e95\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u975e\u5e38\u306b\u9045\u3044API\u3092\u5229\u7528\u3059\u308b\u6848\u4ef6\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>API\u306e\u51e6\u7406\u7d50\u679c\u304c\u623b\u3063\u3066\u304f\u308b\u306e\u304c\u9045\u3044\u305f\u3081\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u7d046\uff5e7\u79d2\u304b\u304b\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\u8fd4\u4e8b\u304c\u9045\u3044\u90e8\u5206\u306e\u6700\u9069\u5316\u3092\u884c\u3046\u305f\u3081\u3001\u4ee5\u524d\u304b\u3089\u8208\u5473\u304c\u3042\u308a\u307e\u3057\u305f\u3001\u300cZend_Cache\u300d\u3092\u4f7f\u3063\u3066\u51e6\u7406\u304c\u9045\u3044\u90e8\u5206\u306e\u89e3\u6c7a\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u305d\u306e\u6642\u306b\u5229\u7528\u3057\u305fZend_Cache\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff10\uff1a\u74b0\u5883\u60c5\u5831<\/h2>\n<p>\u4eca\u56de\u884c\u3063\u305f\u51e6\u7406\u306e\u74b0\u5883\u60c5\u5831\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p style=\"padding-left: 30px;\">\u30fbOS<br \/>\u3000CentOS6<br \/>\u30fbPHP<br \/>\u30005.5.11<br \/>\u30fbZendFramework<br \/>\u30001.12.6<\/p>\n<p style=\"padding-left: 30px;\">ZendFramework\u306f<br \/><a href=\"http:\/\/framework.zend.com\/\" target=\"_blank\" rel=\"noopener\">http:\/\/framework.zend.com\/<\/a><br \/> \u304b\u3089Minimal\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u89e3\u51cd\u3057\u3066\u5229\u7528\u3057\u307e\u3057\u305f\u3002<br \/> \uff082014\/12\/08\u6642\u70b9\u3067\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.12.9\u3067\u3059\uff09<\/p>\n<p style=\"padding-left: 30px;\">\n<p>&nbsp;<\/p>\n<h2>\uff11\uff1a\u72b6\u6cc1<\/h2>\n<p>\u5f53\u521d\u306e\u4ed5\u69d8\u306f\u3053\u306e\u3088\u3046\u306a\u5f62\u3067\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000015.jpg\" data-rel=\"lightbox-gallery-PcyymNME\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-5398\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000015-300x160.jpg\" alt=\"WS000015\" width=\"387\" height=\"206\" srcset=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000015-300x160.jpg 300w, https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000015.jpg 871w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<p>\u3067\u3059\u304c\u3001\u5b9f\u969b\u306f\u3053\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000016.jpg\" data-rel=\"lightbox-gallery-PcyymNME\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5399\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/WS000016-300x144.jpg\" alt=\"WS000016\" width=\"387\" height=\"206\" \/><\/a><\/p>\n<h2>\uff12\uff1a\u8a2d\u8a08<\/h2>\n<h3>\u2460\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u683c\u7d0d\u5148\u8a2d\u5b9a<\/h3>\n<p style=\"padding-left: 30px;\">Zend_Cache\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 30px;\">a):\u30b5\u30fc\u30d0\u4e0a\u306b\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58<br \/> b):SQLite\u5185\u306b\u4fdd\u5b58<br \/> c):Memcached\u5185\u306b\u4fdd\u5b58<br \/> d):APC(Alternative PHP Cache)\u5185\u306b\u4fdd\u5b58<br \/> e):Xcache\u5185\u306b\u4fdd\u5b58<br \/> f):ZendPlatform\u5185\u306b\u4fdd\u5b58<\/p>\n<p> \u4eca\u56de\u306f\u3001\u30b5\u30fc\u30d0\u4e0a\u306b\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308c\u3070\u3001\u76ee\u8996\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\u3082\u3042\u308a\u308f\u304b\u308a\u3084\u3059\u3044\u306e\u3067<br \/><strong>\u300ca):\u30b5\u30fc\u30d0\u4e0a\u306b\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u300d<\/strong>\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u2461\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u6642\u9593<\/h3>\n<p style=\"padding-left: 30px;\">\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u308b\u6642\u9593\u306f\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 30px;\">a):\u7121\u9650<br \/> b):\u79d2\u6307\u5b9a<\/p>\n<p> \u4eca\u56de\u306f<strong>\u300cb):\u79d2\u6307\u5b9a\u300d<\/strong>\u30671\u65e5\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\uff0860 x 60 x 24 = 86400\u79d2)<\/p>\n<h3>\u2462\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u308b\u30c7\u30fc\u30bf\u306e\u7a2e\u985e<\/h3>\n<p style=\"padding-left: 30px;\">\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u308b\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 30px;\">a):\u5909\u6570\u306e\u5024<br \/> b):\u95a2\u6570\u306e\u51e6\u7406\u7d50\u679c<br \/> c):\u30af\u30e9\u30b9\u306e\u51e6\u7406\u7d50\u679c<br \/> d):\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab<br \/> e):\u51fa\u529b\u30da\u30fc\u30b8\u81ea\u4f53<\/p>\n<p> \u4eca\u56de\u306f\u3001API\u304b\u3089\u53d6\u5f97\u3057\u305f\u5024\u3092\u5909\u6570\u306b\u4fdd\u5b58\u3059\u308b\u306e\u3067<strong>\u300ca):\u5909\u6570\u306e\u5024\u300d<\/strong>\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff13\uff1a\u8a2d\u5b9a<\/h2>\n<p>\u3053\u3053\u3067\u306fZendFramework\u306eMVC\u30e2\u30c7\u30eb\u3067\u4f5c\u6210\u3057\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u306e\u8a2d\u5b9a\u4f8b\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<br \/> ZendFramework\u306eMVC\u30e2\u30c7\u30eb\u306e\u4f7f\u3044\u65b9\u306e\u8aac\u660e\u306b\u3064\u3044\u3066\u306f\u3001\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u2460\uff1a\u8aac\u660e<\/h3>\n<p style=\"padding-left: 30px;\">InfoController\u306eindexAction\u5185\u3067\u3001<br \/> API\u304b\u3089\u53d6\u5f97\u3057\u305f\u5024\u3092view\u3067\u8868\u793a\u3059\u308b\u76f4\u524d\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3057\u305f\u3002<br \/> \uff08InfoController\u306eindexAction\u3067\u306f$_GET[&#8216;id&#8217;]\u3092\u30ad\u30fc\u5024\u3068\u3057\u3066API\u304b\u3089\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\uff09<\/p>\n<h3>\u2461\uff1aInfoController\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u8a2d\u5b9a<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\nclass InfoController extends Zend_Controller_Action\r\n{\r\n public function init()\r\n {\r\n\r\n }\r\n\r\n public function indexAction()\r\n {\r\n \/\/ \u2460\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30ad\u30fc\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\r\n \/\/ \u3053\u3053\u3067\u306f$_GET&#x5B;'id']\u3092\u30ad\u30fc\u5024\u3068\u3057\u3066\u3044\u307e\u3059\r\n $cacheId = $_GET&#x5B;'id'];\r\n\r\n \/\/ \u2461\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u6642\u9593\u306f86400\u79d2\u3067\u6307\u5b9a\u3057\u307e\u3059\r\n $frontEndOption = array('lifetime'=&gt;86400, 'automatic_serialization'=&gt;true);\r\n\r\n \/\/ \u2462\uff1a\u4fdd\u5b58\u5834\u6240\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\r\n \/\/ \u3053\u3053\u3067\u306f\u3001application\/..\/data\/cache\u4ee5\u4e0b\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\r\n \/\/ .\/data\/cache\u306b\u306f\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u3066\u304f\u3060\u3055\u3044\r\n \/\/ APPLICATION_PATH\u306fZendFramework\u306epublic\/index.php\u5185\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5b9a\u6570\u3067\u3059\r\n $backEndOption = array('cache_dir'=&gt; realpath(APPLICATION_PATH.'\/..\/data\/cache'));\r\n\r\n \/\/ \u2463\uff1a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u307e\u3059\r\n \/\/ \u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u3092\u300c\u5909\u6570\u306e\u5024\u300d=&gt;Core\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\r\n \/\/ \u307e\u305f\u3001\u4fdd\u5b58\u5148\u3092\u300c\u30d5\u30a1\u30a4\u30eb\u300d=&gt;File\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\r\n $cache = Zend_Cache::factory('Core', 'File', $frontEndOption, $backEndOption);\r\n\r\n \/\/ \u2464\uff1a\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u6d88\u3059\u8a2d\u5b9a\u3067\u3059\r\n $cache-&gt;clean(Zend_Cache::CLEANING_MODE_OLD);\r\n\r\n \/\/ \u2465\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\r\n \/\/ \u521d\u56de\u30a2\u30af\u30bb\u30b9\u6642\u3001\u307e\u305f\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u3066\u3044\u308c\u3070\u3001false\u304c\u623b\u308a\u307e\u3059\r\n $data = $cache-&gt;load($cacheId);\r\n\r\n \/\/ \u2466\uff1a\u30c7\u30fc\u30bf\u304c\u7a7a\u306e\u5834\u5408API\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\r\n \/\/ \u7a7a\u3067\u306a\u3051\u308c\u3070\u3001API\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u305b\u305a\u3001\u305d\u306e\u307e\u307e\u8868\u793a\u3057\u307e\u3059\r\n \/\/ ApiFunction\u306f$_GET&#x5B;'id']\u3092\u30ad\u30fc\u3068\u3057\u3066\u4e00\u81f4\u3059\u308b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u81ea\u4f5c\u95a2\u6570\u3067\u3059\r\n \/\/ \u3053\u306e\u95a2\u6570\u306f\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\r\n if (false===$data) {\r\n $data = ApiFunction($_GET&#x5B;'id']);\r\n \/\/ \u30ad\u30e3\u30c3\u30b7\u30e5\u306bAPI\u304b\u3089\u53d6\u5f97\u3057\u305f\u5024\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\r\n $cache-&gt;save($data);\r\n }\r\n\r\n \/\/ \u2467\uff1a\u30d3\u30e5\u30fc\u306b\u5024\u3092\u6e21\u3057\u307e\u3059\r\n $this-&gt;view-&gt;data = $data;\r\n }\r\n}\r\n\r\n<\/pre>\n<h3>\u2462\uff1a\u7d50\u679c<\/h3>\n<p style=\"padding-left: 30px;\">\u4ee5\u4e0a\u306e\u8a2d\u5b9a\u3067\u30d6\u30e9\u30a6\u30b6\u30fc\u304b\u3089 \/info\/index?id=xxx \u3068\u30a2\u30af\u30bb\u30b9\u3057\u305f\u5834\u5408\u3001\u521d\u56de\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u306a\u3044\u305f\u3081\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u304c\u3001<br \/> 2\u56de\u76ee\u4ee5\u964d\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u30c7\u30fc\u30bf\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u306e\u3067\u3001\u660e\u3089\u304b\u306b\u8868\u793a\u304c\u65e9\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br \/> \u30fbZendCache\u3092\u4f7f\u3046\u524d\uff1a\u7d046\uff5e7\u79d2<br \/> \u30fbZendCache\u3092\u4f7f\u3063\u305f\u5f8c\uff1a\u7d041\u79d2<br \/>\uff08\u5f53\u793e\u74b0\u5883\uff09<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff14\uff1a\u4f7f\u3063\u3066\u307f\u3066<\/h2>\n<p style=\"padding-left: 30px;\">\u5c0e\u5165\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u70b9\u306b\u6c17\u3092\u3064\u3051\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p> <strong>\u30fb\u66f4\u65b0\u304c\u4e0d\u5b9a\u671f\u306b\u884c\u308f\u308c\u308b\u30b5\u30a4\u30c8\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044<\/strong><br \/>\u3000\uff1d\uff1e\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u305f\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306e\u3067\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u30b5\u30a4\u30c8\u306e\u5834\u5408\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044<br \/> <strong>\u30fb\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306f\u5b9a\u671f\u7684\u306b\u6d88\u3059\u3053\u3068<\/strong><br \/>\u3000\uff1d\uff1e\u5229\u7528\u3059\u308b\u306b\u3064\u308c\u3066\u3001\u30b4\u30df\u30d5\u30a1\u30a4\u30eb\u304c\u6ca2\u5c71\u3067\u304d\u308b\u306e\u3067\u3001\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306f\u524a\u9664\u3057\u3066\u304a\u304f\u3053\u3068<br \/> <strong>\u30fb\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u5f8c\u306e1\u56de\u76ee\u306e\u51e6\u7406\u306f\u91cd\u3044<\/strong><br \/>\u3000\uff1d\uff1e\u305f\u3060\u3001\u3053\u306e\u8fba\u308a\u306f\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u3053\u308d\u3092\u898b\u3066\u3001\u6307\u5b9a\u3057\u305fURL\u3092\u53e9\u304f\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u4f7f\u3063\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3082\u3044\u3044\u304b\u3068\u601d\u3044\u307e\u3057\u305f<br \/><strong>\u30fbPHP\u306ememory_limit\u306e\u5024<\/strong><br \/>\u3000\uff1d\uff1e\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u30c7\u30fc\u30bf\u30b5\u30a4\u30ba\u304c\u80a5\u5927\u3057\u3066\u3001PHP\u306ememory_limit\u5024\u3092\u8d85\u3048\u3066\u3057\u307e\u3046\u3068\u3001\u30e1\u30e2\u30ea\u4e0d\u8db3\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001memory_limit\u306b\u9069\u5207\u306a\u5024\u3092\u5272\u308a\u632f\u308b\u3088\u3046\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3068\u601d\u3044\u307e\u3059<\/p>\n<p>\u5c0e\u5165\u3092\u3057\u305f\u3044\u65b9\u306f\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4eca\u4e95\u3067\u3059\u3002 \u5148\u65e5\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u975e\u5e38\u306b\u9045\u3044API\u3092\u5229\u7528\u3059\u308b\u6848\u4ef6\u304c\u3042\u308a\u307e\u3057\u305f\u3002API\u306e\u51e6\u7406\u7d50\u679c\u304c\u623b\u3063\u3066\u304f\u308b\u306e\u304c\u9045\u3044\u305f\u3081\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u7d046\uff5e7\u79d2\u304b\u304b\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u8fd4\u4e8b\u304c\u9045\u3044\u90e8\u5206\u306e\u6700\u9069\u5316\u3092\u884c\u3046\u305f\u3081\u3001 [&hellip;]","protected":false},"author":3,"featured_media":5386,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,4,454],"tags":[40,175,193,194],"class_list":["post-5242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ed-tech","category-website","category-dx","tag-40","tag-zendframework","tag-zend_cache","tag-194"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog\" \/>\n<meta property=\"og:description\" content=\"\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4eca\u4e95\u3067\u3059\u3002 \u5148\u65e5\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u975e\u5e38\u306b\u9045\u3044API\u3092\u5229\u7528\u3059\u308b\u6848\u4ef6\u304c\u3042\u308a\u307e\u3057\u305f\u3002API\u306e\u51e6\u7406\u7d50\u679c\u304c\u623b\u3063\u3066\u304f\u308b\u306e\u304c\u9045\u3044\u305f\u3081\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u7d046\uff5e7\u79d2\u304b\u304b\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u8fd4\u4e8b\u304c\u9045\u3044\u90e8\u5206\u306e\u6700\u9069\u5316\u3092\u884c\u3046\u305f\u3081\u3001 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242\" \/>\n<meta property=\"og:site_name\" content=\"spiceworks Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-22T00:58:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-20T09:07:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1604\" \/>\n\t<meta property=\"og:image:height\" content=\"850\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4eca\u4e95 \u5065\u4e00\u6717\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4eca\u4e95 \u5065\u4e00\u6717\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242\"},\"author\":{\"name\":\"\u4eca\u4e95 \u5065\u4e00\u6717\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/2f260e5c8670d0a2f7a95601c21cc632\"},\"headline\":\"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f\",\"datePublished\":\"2014-12-22T00:58:50+00:00\",\"dateModified\":\"2024-05-20T09:07:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242\"},\"wordCount\":181,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/zf-logo-mark.png\",\"keywords\":[\"\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\",\"ZendFramework\",\"Zend_Cache\",\"\u30ad\u30e3\u30c3\u30b7\u30e5\"],\"articleSection\":[\"EdTech\",\"Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0\",\"DX\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242\",\"name\":\"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/zf-logo-mark.png\",\"datePublished\":\"2014-12-22T00:58:50+00:00\",\"dateModified\":\"2024-05-20T09:07:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/2f260e5c8670d0a2f7a95601c21cc632\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#primaryimage\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/zf-logo-mark.png\",\"contentUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/zf-logo-mark.png\",\"width\":1604,\"height\":850},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=5242#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/\",\"name\":\"spiceworks Blog\",\"description\":\"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/2f260e5c8670d0a2f7a95601c21cc632\",\"name\":\"\u4eca\u4e95 \u5065\u4e00\u6717\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g\",\"caption\":\"\u4eca\u4e95 \u5065\u4e00\u6717\"},\"description\":\"\u30a8\u30f3\u30b8\u30cb\u30a2\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?author=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242","og_locale":"ja_JP","og_type":"article","og_title":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog","og_description":"\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4eca\u4e95\u3067\u3059\u3002 \u5148\u65e5\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u975e\u5e38\u306b\u9045\u3044API\u3092\u5229\u7528\u3059\u308b\u6848\u4ef6\u304c\u3042\u308a\u307e\u3057\u305f\u3002API\u306e\u51e6\u7406\u7d50\u679c\u304c\u623b\u3063\u3066\u304f\u308b\u306e\u304c\u9045\u3044\u305f\u3081\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u7d046\uff5e7\u79d2\u304b\u304b\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u8fd4\u4e8b\u304c\u9045\u3044\u90e8\u5206\u306e\u6700\u9069\u5316\u3092\u884c\u3046\u305f\u3081\u3001 [&hellip;]","og_url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242","og_site_name":"spiceworks Blog","article_published_time":"2014-12-22T00:58:50+00:00","article_modified_time":"2024-05-20T09:07:08+00:00","og_image":[{"width":1604,"height":850,"url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png","type":"image\/png"}],"author":"\u4eca\u4e95 \u5065\u4e00\u6717","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u4eca\u4e95 \u5065\u4e00\u6717","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#article","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242"},"author":{"name":"\u4eca\u4e95 \u5065\u4e00\u6717","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/2f260e5c8670d0a2f7a95601c21cc632"},"headline":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f","datePublished":"2014-12-22T00:58:50+00:00","dateModified":"2024-05-20T09:07:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242"},"wordCount":181,"commentCount":0,"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png","keywords":["\u30dc\u30c8\u30eb\u30cd\u30c3\u30af","ZendFramework","Zend_Cache","\u30ad\u30e3\u30c3\u30b7\u30e5"],"articleSection":["EdTech","Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0","DX"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242","url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242","name":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f - spiceworks Blog","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#primaryimage"},"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png","datePublished":"2014-12-22T00:58:50+00:00","dateModified":"2024-05-20T09:07:08+00:00","author":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/2f260e5c8670d0a2f7a95601c21cc632"},"breadcrumb":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=5242"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#primaryimage","url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png","contentUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2014\/12\/zf-logo-mark.png","width":1604,"height":850},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=5242#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spiceworks.co.jp\/blog"},{"@type":"ListItem","position":2,"name":"Zend_Cache\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u6700\u9069\u5316\u3057\u3066\u307f\u307e\u3057\u305f"}]},{"@type":"WebSite","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website","url":"https:\/\/www.spiceworks.co.jp\/blog\/","name":"spiceworks Blog","description":"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spiceworks.co.jp\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/2f260e5c8670d0a2f7a95601c21cc632","name":"\u4eca\u4e95 \u5065\u4e00\u6717","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a21ec9cf2260c1a01d8f41591f44949d8b3fae02fb235a90d63df8b77f5db789?s=96&d=mm&r=g","caption":"\u4eca\u4e95 \u5065\u4e00\u6717"},"description":"\u30a8\u30f3\u30b8\u30cb\u30a2","url":"https:\/\/www.spiceworks.co.jp\/blog\/?author=3"}]}},"_links":{"self":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5242"}],"version-history":[{"count":44,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5242\/revisions"}],"predecessor-version":[{"id":23652,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5242\/revisions\/23652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/5386"}],"wp:attachment":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}