{"id":12672,"date":"2025-09-21T08:38:11","date_gmt":"2025-09-21T06:38:11","guid":{"rendered":"https:\/\/webhosting.de\/serverseitiges-caching-nginx-apache-guide-leistung-turbo\/"},"modified":"2025-09-21T08:38:11","modified_gmt":"2025-09-21T06:38:11","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%b5%e3%82%a4%e3%83%89%e3%83%bb%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%b3%e3%82%b0-nginx-apache%e3%82%ac%e3%82%a4%e3%83%89-%e3%83%91%e3%83%95%e3%82%a9","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/serverseitiges-caching-nginx-apache-guide-leistung-turbo\/","title":{"rendered":"Nginx\u307e\u305f\u306fApache\u3067\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u3092\u8a2d\u5b9a - \u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u52b9\u7387\u7684\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9"},"content":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u306f <strong>Nginx<\/strong> \u6216\u3044\u306f <strong>\u30a2\u30d1\u30c3\u30c1<\/strong> \u660e\u78ba\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u30eb\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u30bf\u30a4\u30e0\u3078\u306e\u5f71\u97ff\u3092\u76e3\u8996\u3057\u307e\u3059\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u8ca0\u8377\u3092\u9855\u8457\u306b\u8efd\u6e1b\u3057\u30011\u79d2\u3042\u305f\u308a\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6570\u3092\u5897\u3084\u3057\u3001\u9ad8\u8ca0\u8377\u6642\u3067\u3082\u52d5\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u78ba\u5b9f\u306b\u9ad8\u901f\u306b\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n<h2>\u4e2d\u5fc3\u70b9<\/h2>\n\n<p>\u30bb\u30c3\u30c6\u30a3\u30f3\u30b0\u306e\u524d\u306b\u3001\u79c1\u306f\u76ee\u7684\u3092\u660e\u78ba\u306b\u6574\u7406\u3059\u308b\u3002 <strong>\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u3069\u306e\u304f\u3089\u3044\u306e\u671f\u9593\u3001\u3069\u306e\u30ec\u30d9\u30eb\u3067\u3002\u52d5\u7684\u306a\u30da\u30fc\u30b8\u3067\u306f\u3001\u79c1\u306f\u6b21\u306e\u3088\u3046\u306a\u4f8b\u5916\u3092\u8a08\u753b\u3057\u3066\u3044\u308b\u3002 <strong>\u30bb\u30c3\u30b7\u30e7\u30f3<\/strong> \u305d\u3057\u3066\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3002\u79c1\u306f\u9069\u5207\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u9078\u629e\u3057\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u304c\u7406\u306b\u304b\u306a\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30fc\u30f3\u306a <strong>\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8<\/strong> \u305d\u3057\u3066\u8a08\u753b\u7684\u306b\u30d8\u30c3\u30c0\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3002\u6700\u5f8c\u306b\u3001\u5404\u5909\u66f4\u306e\u52b9\u679c\u3092\u78ba\u5b9f\u306b\u8a55\u4fa1\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u306e\u30a2\u30f3\u30ab\u30fc\u3092\u3064\u3051\u308b\u3002<\/p>\n<ul>\n  <li><strong>\u5efa\u7bc9<\/strong> \u660e\u3089\u304b\u306b\u3059\u308b<\/li>\n  <li><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30bf\u30a4\u30d7<\/strong> \u5b9a\u7fa9<\/li>\n  <li><strong>\u30d8\u30c3\u30c0\u30fc<\/strong> \u7261\u725b<\/li>\n  <li><strong>\u7121\u52b9\u5316<\/strong> \u30d7\u30e9\u30f3<\/li>\n  <li><strong>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0<\/strong> \u78ba\u7acb<\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/nginx-caching-server-4872.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>\u57fa\u790e\u77e5\u8b58\uff1a\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30fb\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u3068\u306f\uff1f<\/h2>\n\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30fb\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u306f <strong>\u30ea\u30af\u30a8\u30b9\u30c8<\/strong> \u3053\u308c\u306b\u3088\u308a\u3001\u983b\u7e41\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u518d\u8a08\u7b97\u3059\u308b\u3053\u3068\u306a\u304f\u914d\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u4f5c\u696d\u304c\u6e1b\u308b\u306e\u3067\u3001\u6700\u521d\u306e\u30d0\u30a4\u30c8\u307e\u3067\u306e\u6642\u9593\u304c\u660e\u3089\u304b\u306b\u77ed\u7e2e\u3055\u308c\u307e\u3059\u3002\u79c1\u306f\u3001\u30d7\u30ed\u30ad\u30b7\u30ec\u30d9\u30eb\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3001FastCGI\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u533a\u5225\u3057\u3066\u3044\u308b\u3002 <strong>\u8cc7\u7523<\/strong>.\u3069\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u516c\u958b\u3068\u307f\u306a\u3057\u3001\u3069\u308c\u3092\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3057\u305f\u307e\u307e\u306b\u3059\u308b\u304b\u306b\u3064\u3044\u3066\u3001\u53b3\u5bc6\u306a\u8a08\u753b\u3092\u7acb\u3066\u308b\u3053\u3068\u304c\u91cd\u8981\u3060\u3002\u305d\u308c\u305e\u308c\u306e\u30eb\u30fc\u30eb\u306b\u3064\u3044\u3066\u3001\u79c1\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u7a7a\u306b\u3059\u308b\u305f\u3081\u306e\u6709\u52b9\u671f\u9650\uff08TTL\uff09\u3068\u660e\u78ba\u306a\u6761\u4ef6\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3002<\/p>\n\n<h2>Nginx \u3068 Apache - \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u6982\u5ff5<\/h2>\n\n<p>Nginx\u306e\u52d5\u4f5c <strong>\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3<\/strong> \u305d\u306e\u305f\u3081\u3001\u9ad8\u3044\u4e26\u5217\u6027\u3068\u9ad8\u901f\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u975e\u5e38\u306b\u9069\u3057\u3066\u3044\u308b\u3002Apache\u306f\u30d7\u30ed\u30bb\u30b9\u3068\u30b9\u30ec\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u304c\u3001\u975e\u5e38\u306b\u67d4\u8edf\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30e9\u30f3\u30c9\u30b9\u30b1\u30fc\u30d7\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u7d30\u304b\u304f\u5236\u5fa1\u3067\u304d\u308b\u3002\u9759\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u306f\u3001Nginx\u306fCPU\u8ca0\u8377\u304c\u975e\u5e38\u306b\u4f4e\u3044\u306e\u304c\u5370\u8c61\u7684\u3060\u304c\u3001\u52d5\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306fApache\u304c\u6a5f\u80fd\u306e\u6df1\u3055\u3067\u52dd\u3063\u3066\u3044\u308b\u3002\u30ea\u30d0\u30fc\u30b9\u30fb\u30d7\u30ed\u30ad\u30b7\u3092\u4f7f\u3048\u3070\u3001\u307b\u3068\u3093\u3069\u3059\u3079\u3066\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u5fdc\u7b54\u6642\u9593\u306e\u77ed\u7e2e\u306e\u6069\u6075\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u306eNginx\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u306e\u6982\u8981\u306f\u3053\u3061\u3089\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\uff1a <a href=\"https:\/\/webhosting.de\/ja\/nginx-%e3%82%a6%e3%82%a7%e3%83%96%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc-%e3%83%aa%e3%83%90%e3%83%bc%e3%82%b9%e3%83%97%e3%83%ad%e3%82%ad%e3%82%b7-%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3\/\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u306eNginx<\/a>.<\/p>\n\n<p>\u6b21\u306e\u8868\u306f\u3001\u4e3b\u306a\u76f8\u9055\u70b9\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3001\u9069\u5207\u306a\u3082\u306e\u3092\u898b\u3064\u3051\u308b\u306e\u306b\u5f79\u7acb\u3064\u3002 <strong>\u6226\u7565<\/strong> \u3092\u9078\u3076\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u8981\u4ef6\u3001\u30c4\u30fc\u30eb\u3001\u5c06\u6765\u306e\u904b\u7528\u8a08\u753b\u3092\u3088\u308a\u3088\u304f\u5206\u985e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u79c1\u306f\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3001\u30a2\u30d7\u30ea\u306e\u8907\u96d1\u3055\u3001\u5178\u578b\u7684\u306a\u8ca0\u8377\u30d4\u30fc\u30af\u3092\u8003\u616e\u306b\u5165\u308c\u3066\u3044\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u3042\u308c\u3070\u3042\u308b\u307b\u3069\u3001\u653b\u6483\u7684\u306a\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002 <strong>\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0<\/strong>.\u975e\u5e38\u306b\u52d5\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u306f\u3001\u7279\u5b9a\u306e\u4f8b\u5916\u3068\u77ed\u3044TTL\u3092\u4f7f\u3046\u50be\u5411\u304c\u3042\u308b\u3002<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u57fa\u6e96<\/th>\n      <th>\u30a2\u30d1\u30c3\u30c1<\/th>\n      <th>Nginx<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30fb\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/td>\n      <td>\u30d7\u30ed\u30bb\u30b9\uff06\u30b9\u30ec\u30c3\u30c9\u30d9\u30fc\u30b9<\/td>\n      <td>\u30a4\u30d9\u30f3\u30c8\u5236\u5fa1\uff08\u975e\u540c\u671f\uff09<\/td>\n    <\/tr>\n    <tr>\n      <td>\u9759\u7684\u30b3\u30f3\u30c6\u30f3\u30c4<\/td>\n      <td>\u30b0\u30c3\u30c9<\/td>\n      <td>\u975e\u5e38\u306b\u901f\u3044<\/td>\n    <\/tr>\n    <tr>\n      <td>\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30fb\u30b3\u30f3\u30c6\u30f3\u30c4<\/td>\n      <td>\u975e\u5e38\u306b\u67d4\u8edf\uff08\u30e2\u30b8\u30e5\u30fc\u30eb\uff09<\/td>\n      <td>PHP-FPM\/\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u3064\u3044\u3066<\/td>\n    <\/tr>\n    <tr>\n      <td>\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd<\/td>\n      <td>mod_cache, mod_file_cache<\/td>\n      <td>FastCGI\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u30d7\u30ed\u30ad\u30b7\u30ad\u30e3\u30c3\u30b7\u30e5<\/td>\n    <\/tr>\n    <tr>\n      <td>\u69cb\u6210<\/td>\n      <td>\u96c6\u4e2d\u7ba1\u7406\uff06.htaccess\u7d4c\u7531<\/td>\n      <td>nginx.conf\u306e\u4e2d\u592e<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/servercachingmeeting2038.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>Nginx\u3092\u8a2d\u5b9a\u3059\u308b\uff1aFastCGI \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7<\/h2>\n\n<p>\u307e\u305a <strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u30d1\u30b9<\/strong> \u3068\u540d\u524d\u4ed8\u304d\u30be\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u3001Nginx\u304c\u69cb\u9020\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4fdd\u5b58\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u305d\u306e\u5f8c\u3001PHP\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\uff08PHP-FPM\u306a\u3069\uff09\u3092\u63a5\u7d9a\u3057\u3001\u9069\u5207\u306a\u5834\u6240\u3067fastcgi_cache\u3092\u6709\u52b9\u306b\u3059\u308b\u3002\u52d5\u7684\u30a2\u30d7\u30ea\u306e\u5834\u5408\u306f <strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u30d0\u30a4\u30d1\u30b9<\/strong> PHPSESSID\u306e\u3088\u3046\u306a\u30af\u30c3\u30ad\u30fc\u3084\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u306e\u305f\u3081\u306b\u3001\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30da\u30fc\u30b8\u304c\u65b0\u9bae\u3055\u3092\u4fdd\u3066\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002fastcgi_cache_valid\u3092\u4f7f\u3063\u3066\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u306bTTL\u3092\u5272\u308a\u5f53\u3066\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30a8\u30a4\u30b8\u30f3\u30b0\u3092\u5236\u5fa1\u3057\u3066\u3044\u307e\u3059\u3002X-FastCGI-Cache\u30d8\u30c3\u30c0\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304cHIT\u3001MISS\u3001BYPASS\u306e\u3069\u308c\u3067\u3042\u3063\u305f\u304b\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u308c\u306b\u5fdc\u3058\u3066\u30eb\u30fc\u30eb\u3092\u6539\u826f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<h2>Apache\u306e\u8a2d\u5b9a\uff1amod_cache\u3092\u5b89\u5168\u306b\u4f7f\u7528\u3059\u308b<\/h2>\n\n<p>Apache\u3067\u306f\u3001mod_cache\u3068mod_cache_disk\u3001\u307e\u305f\u306f\u5171\u6709\u30e1\u30e2\u30ea\u30fc\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002 <strong>\u30b4\u30fc\u30eb<\/strong>.vHost\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u7279\u306bCacheEnable\u3092\u30aa\u30f3\u306b\u3057\u3001Expires\u5024\u3092\u5b9a\u7fa9\u3057\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u516c\u958b\u3057\u305f\u307e\u307e\u306b\u3059\u308b\u5834\u5408\u306fSet-Cookie\u306a\u3069\u306e\u30d8\u30c3\u30c0\u30fc\u3092\u7121\u8996\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3088\u308a\u7d30\u304b\u304f\u5236\u5fa1\u3059\u308b\u305f\u3081\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3068\u30d1\u30b9\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u4f7f\u3063\u3066\u3001\u9069\u5207\u306a <strong>\u30ea\u30bd\u30fc\u30b9<\/strong> \u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u5165\u308b\u3002\u30a2\u30d7\u30ea\u304c\u8a31\u53ef\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30b5\u30fc\u30d0\u30fc\u306e\u9593\u306b\u660e\u78ba\u306a\u76f8\u4e92\u4f5c\u7528\u3092\u751f\u307f\u51fa\u3057\u3066\u3044\u308b\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fb\u30ec\u30d9\u30eb\u306e\u30eb\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u3082\u306e\u304c\u5f79\u7acb\u3063\u3066\u3044\u308b\u3002 <a href=\"https:\/\/webhosting.de\/ja\/htaccess%e3%82%ac%e3%82%a4%e3%83%89\/\">.htaccess\u30ac\u30a4\u30c9<\/a>.<\/p>\n\n<h2>\u30ad\u30e3\u30c3\u30b7\u30e5\u30eb\u30fc\u30eb\u3068\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\uff1a\u30af\u30c3\u30ad\u30fc\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3001\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217<\/h2>\n\n<p>\u30d1\u30fc\u30bd\u30ca\u30eb\u30fb\u30d6\u30ed\u30c3\u30af <strong>\u56de\u7b54<\/strong> \u4f8b\u3048\u3070\u30bb\u30c3\u30b7\u30e7\u30f3\u30af\u30c3\u30ad\u30fc\u3092\u4f7f\u3046\u306a\u3069\u3001\u4e00\u8cab\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u3002\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217\u306b\u3064\u3044\u3066\u306f\u3001\u672c\u5f53\u306e\u30d0\u30ea\u30a2\u30f3\u30c8\uff08\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306a\u3069\uff09\u3068\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u533a\u5225\u3057\u3001\u305d\u308c\u3089\u306f\u524a\u9664\u3059\u308b\u304b\u7121\u8996\u3059\u308b\u3002API\u3084\u691c\u7d22\u7d50\u679c\u306b\u3064\u3044\u3066\u306f\u3001\u8aa4\u691c\u51fa\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u77ed\u3044TTL\u3092\u5272\u308a\u5f53\u3066\u305f\u308a\u3001\u5b8c\u5168\u306bNO-CACHE\u306b\u8a2d\u5b9a\u3057\u305f\u308a\u3057\u307e\u3059\u3002 <strong>\u30d2\u30c3\u30c8\u6570<\/strong> \u3092\u907f\u3051\u308b\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3084\u30d5\u30a9\u30fc\u30e0\u306ePOST\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u306a\u3044\u304c\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u3084\u30a2\u30bb\u30c3\u30c8\u306f\u7a4d\u6975\u7684\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u3002\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304c\u6bba\u5230\u3059\u308b\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3067\u306f\u3001\u77ed\u3044\u304c\u52b9\u679c\u7684\u306aTTL\u3092\u8a08\u753b\u3057\u3001\u5909\u66f4\u304c\u52a0\u3048\u3089\u308c\u305f\u5834\u5408\u306f\u7d20\u65e9\u304f\u7121\u52b9\u306b\u3059\u308b\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/server-caching-nginx-apache-8472.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u30c7\u30d0\u30c3\u30b0\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30d2\u30c3\u30c8\u7387\u306e\u628a\u63e1<\/h2>\n\n<p>\u3067X-Cache\u307e\u305f\u306fX-FastCGI-Cache\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002 <strong>\u8fd4\u4fe1\u30d8\u30c3\u30c0\u30fc<\/strong> \u305d\u3057\u3066\u3001\u6642\u9593\u306e\u7d4c\u904e\u3068\u3068\u3082\u306b\u30d2\u30c3\u30c8\u7387\u3092\u6e2c\u5b9a\u3059\u308b\u3002\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3068\u30b9\u30c6\u30fc\u30bf\u30b9\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u5229\u7528\u7387\u3001\u5f85\u3061\u6642\u9593\u3001\u30a8\u30e9\u30fc\u72b6\u6cc1\u3092\u793a\u3057\u3066\u304f\u308c\u308b\u3002\u5909\u66f4\u5f8c\u306e\u77ed\u3044\u30c6\u30b9\u30c8\u5b9f\u884c\u3067\u3001\u30df\u30b9\u304c\u30d2\u30c3\u30c8\u306b\u5909\u308f\u308b\u304b\u3069\u3046\u304b\u3001\u307e\u305f\u3001\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u304c <strong>\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong> \u306e\u571f\u5730\u3002\u8ca0\u8377\u30c6\u30b9\u30c8\u306f\u30db\u30c3\u30c8\u30d1\u30b9\u3092\u660e\u3089\u304b\u306b\u3057\u3001\u7279\u5b9a\u306e\u30eb\u30fc\u30eb\u3092\u6539\u826f\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u65e9\u3044\u6bb5\u968e\u3067\u8a8d\u8b58\u3057\u3001\u5b9f\u969b\u306e\u8ca0\u8377\u30d4\u30fc\u30af\u306e\u4e0b\u3067\u3082\u5fdc\u7b54\u6027\u306e\u9ad8\u3044\u74b0\u5883\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n<h2>\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u8a2d\u8a08\u3068\u5909\u5316\u6226\u7565<\/h2>\n\n<p>\u304d\u308c\u3044\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306f\u3001\u7570\u306a\u308b\u30d0\u30ea\u30a2\u30f3\u30c8\u304c\u304d\u308c\u3044\u306b\u5206\u96e2\u3055\u308c\u3066\u3044\u308b\u304b\u3001\u4e0d\u6ce8\u610f\u306b\u6df7\u5728\u3057\u3066\u3044\u308b\u304b\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u79c1\u306f\u610f\u8b58\u7684\u306b\u30ad\u30fc\u3092\u5b9a\u7fa9\u3057\u3001\u30b9\u30ad\u30fc\u30de\u3001\u30db\u30b9\u30c8\u3001\u30d1\u30b9\u3001\u95a2\u9023\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8003\u616e\u3057\u307e\u3059\u3002\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u9664\u5916\u3057\u3001\u672c\u5f53\u306e\u30d0\u30ea\u30a2\u30f3\u30c8 (\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3001\u30bd\u30fc\u30c8\u3001\u8a00\u8a9e\u306a\u3069) \u3092\u542b\u3081\u307e\u3059\u3002Nginx\u30ec\u30d9\u30eb\u3067\u306f\u5909\u6570\u3068\u30de\u30c3\u30d7\u3001Apache\u3067\u306f\u7279\u5b9a\u306e\u30eb\u30fc\u30eb\u3068 <strong>\u53ef\u5909<\/strong>-\u30d8\u30c3\u30c0\u30fc<\/p>\n<ul>\n  <li><strong>\u30db\u30b9\u30c8\u3068\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u5206\u96e2\uff1a<\/strong> http\/https\u3068\u30c9\u30e1\u30a4\u30f3\u306e\u4e21\u65b9\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u3001\u30ad\u30fc\u306b\u660e\u793a\u7684\u306b\u542b\u3081\u308b\u3002<\/li>\n  <li><strong>\u30af\u30a8\u30ea\u6587\u5b57\u5217\u3092\u6b63\u898f\u5316\u3059\u308b\uff1a<\/strong> \u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u6a19\u6e96\u5316\u3057\u3001\u7121\u95a2\u4fc2\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7834\u68c4\u3057\u3001\u95a2\u9023\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u306b\u767b\u9332\u3059\u308b\u3002<\/li>\n  <li><strong>\u30c7\u30d0\u30a4\u30b9\u3068\u8a00\u8a9e\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff1a<\/strong> \u304d\u308c\u3044\u306b\u5206\u96e2\u3055\u308c\u3066\u3044\u308b\u5834\u5408\uff08\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3001\u30d1\u30b9\u3001\u660e\u793a\u7684\u306a\u30af\u30c3\u30ad\u30fc\u306a\u3069\uff09\u306e\u307f\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u30ad\u30fc\u304c\u7206\u767a\u3059\u308b\u5371\u967a\u6027\u304c\u3042\u308b\u3002<\/li>\n  <li><strong>Vary\u30d8\u30c3\u30c0\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\uff1a<\/strong> Accept-Encoding for Gzip\/Brotli, optional Accept-Language, never Vary\uff1a*<\/li>\n  <li><strong>\u30af\u30c3\u30ad\u30fc\u306f\u63a7\u3048\u3081\u306b\uff1a<\/strong> \u6c7a\u5b9a\u306b\u542b\u3081\u308b\u30af\u30c3\u30ad\u30fc\u306f\u3001\u8868\u793a\u306b\u672c\u5f53\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3082\u306e\u3060\u3051\u306b\u3057\u307e\u3057\u3087\u3046\uff08\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u306a\u3069\uff09\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30dd\u30a4\u30ba\u30cb\u30f3\u30b0\u3092\u9632\u304e\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d0\u30ea\u30a2\u30f3\u30c8\u306e\u6570\u3092\u5236\u5fa1\u4e0b\u306b\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u30d0\u30ea\u30a2\u30f3\u30c8\u304c\u5c11\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u30d2\u30c3\u30c8\u7387\u304c\u9ad8\u304f\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u30b3\u30b9\u30c8\u304c\u4f4e\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n<h2>\u9bae\u5ea6\u3001\u518d\u691c\u8a3c\u3001\u9673\u8150\u5316\u3057\u305f\u6226\u7565<\/h2>\n\n<p>\u30b3\u30f3\u30d0\u30a4\u30f3 <strong>TTL<\/strong> \u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u9bae\u5ea6\u3068\u5b89\u5b9a\u6027\u3092\u540c\u6642\u306b\u4fdd\u3064\u305f\u3081\u306b\u3001\u518d\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u884c\u3046\u3002\u5171\u6709\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u306f\u3001s-maxage\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u304c\u91cd\u8981\u3060\u3002\u52a0\u3048\u3066\u3001\u4e0a\u6d41\u306e\u554f\u984c\u306b\u5bfe\u3057\u3066\u9ad8\u901f\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u63d0\u4f9b\u3057\u7d9a\u3051\u308b\u305f\u3081\u306b\u3001\u30b9\u30c6\u30fc\u30eb\u6226\u7565\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<\/p>\n<ul>\n  <li><strong>s-maxage\u3068max-age\u306e\u6bd4\u8f03\uff1a<\/strong> s-maxage\u306f\u5171\u6709\u30ad\u30e3\u30c3\u30b7\u30e5\uff08\u30d7\u30ed\u30ad\u30b7\u3001CDN\uff09\u3001max-age\u306f\u30d6\u30e9\u30a6\u30b6\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3002HTML\u306e\u5834\u5408\u306f\u3001s-maxage\u3092\u6570\u5206\u3001max-age\u3092\u77ed\u3044\u304b\u30bc\u30ed\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3002<\/li>\n  <li><strong>stale-while-revalidate\uff1a<\/strong> \u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u66f4\u65b0\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u9593\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u53e4\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u304c\u5927\u5e45\u306b\u7de9\u548c\u3055\u308c\u307e\u3059\u3002<\/li>\n  <li><strong>stale-if-error\uff1a<\/strong> 5xx\u30a8\u30e9\u30fc\u306e\u5834\u5408\u3001\u79c1\u306f\u5931\u6557\u3092\u96a0\u3059\u305f\u3081\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u30b5\u30fc\u30d3\u30b9\u3092\u7d9a\u3051\u308b\u3002<\/li>\n  <li><strong>use_stale\/Background-Update\uff1a<\/strong> Nginx\u3067\u306fuse_stale\u3068\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u66f4\u65b0\u3092\u4f7f\u3044\u3001Apache\u3067\u306fCacheStaleOnError\u306a\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3002<\/li>\n  <li><strong>ETag\/Last-Modified\uff1a<\/strong> \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304cIf-None-Match\/If-Modified-Since\u3092\u9001\u4fe1\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u304c304\u3092\u8fd4\u3057\u305f\u5834 \u5408\u3001\u518d\u691c\u8a3c\u306f\u5e2f\u57df\u5e45\u3092\u7bc0\u7d04\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308a\u3001\u77ed\u671f\u9593\u306e\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u9045\u5ef6\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u77ed\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u30bf\u30a4\u30e0\u3068\u5805\u7262\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<h2>\u30de\u30a4\u30af\u30ed\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u8ca0\u8377\u30d4\u30fc\u30af\u306e\u906e\u65ad<\/h2>\n\n<p>\u983b\u7e41\u306b\u30af\u30a8\u30ea\u304c\u5b9f\u884c\u3055\u308c\u3001\u540c\u3058\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3088\u3046\u306a\u52d5\u7684\u306a\u30da\u30fc\u30b8\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002 <strong>\u30de\u30a4\u30af\u30ed\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0<\/strong> \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002HTML\u306e\u7d50\u679c\u30921\uff5e10\u79d2\u9593\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u3053\u3068\u3067\u3001\u540c\u3058\u3088\u3046\u306a\u30af\u30a8\u30ea\u304c1,000\u4ef6\u540c\u6642\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5165\u529b\u3055\u308c\u308b\u306e\u3092\u9632\u3044\u3067\u3044\u307e\u3059\u3002<\/p>\n<ul>\n  <li><strong>\u77ed\u3044\u304c\u52b9\u679c\u7684\u3060\uff1a<\/strong> TTL\u30923\uff5e5\u79d2\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u53e4\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u6c17\u3065\u304f\u3053\u3068\u306a\u304f\u3001\u30d4\u30fc\u30af\u6642\u306e\u8ca0\u8377\u3092\u5927\u5e45\u306b\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n  <li><strong>\u7c92\u72b6\uff1a<\/strong> \u30b0\u30ed\u30fc\u30d0\u30eb\u3067\u306f\u306a\u304f\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\uff08\u30b9\u30bf\u30fc\u30c8\u30da\u30fc\u30b8\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u3001\u691c\u7d22\u30b5\u30b8\u30a7\u30b9\u30c8\uff09\u3067\u306e\u307f\u6709\u52b9\u3002<\/li>\n  <li><strong>\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u306e\u305f\u3081\u306e\u30d0\u30a4\u30d1\u30b9\uff1a<\/strong> \u30bb\u30c3\u30b7\u30e7\u30f3\u3001\u30ab\u30fc\u30c8\u3001\u30ed\u30b0\u30a4\u30f3\u30af\u30c3\u30ad\u30fc\u306f\u30de\u30a4\u30af\u30ed\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u5bfe\u8c61\u5916\u3067\u3059\u3002<\/li>\n<\/ul>\n<p>\u30de\u30a4\u30af\u30ed\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u306f\u3001\u30d0\u30fc\u30b9\u30c8\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u4e0b\u3067\u306e\u30b3\u30b9\u30c8\u524a\u6e1b\u3068\u5b89\u5b9a\u6027\u5411\u4e0a\u306e\u305f\u3081\u306b\u6709\u5229\u306a\u624b\u6bb5\u3067\u3042\u308b\u3002<\/p>\n\n<h2>\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u5927\u6df7\u4e71\u3092\u907f\u3051\u308b\u30ed\u30c3\u30af\u3068\u5236\u9650<\/h2>\n\n<p>\u3092\u4f7f\u3063\u3066 <strong>\u30ab\u30df\u30ca\u30ea\u30fb\u30b9\u30c8\u30fc\u30d6<\/strong> \u671f\u9650\u5207\u308c\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066\u591a\u304f\u306e\u540c\u6642\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002\u65b0\u3057\u3044\u30b3\u30d4\u30fc\u304c\u4f5c\u6210\u3055\u308c\u308b\u9593\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u9632\u3044\u3067\u3044\u308b\u3002<\/p>\n<ul>\n  <li><strong>Nginx\uff1a<\/strong> \u30d7\u30ed\u30ad\u30b7\u3068FastCGI\u30ad\u30e3\u30c3\u30b7\u30e5\u306ecache_lock\u3092\u6709\u52b9\u306b\u3057\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u9069\u5207\u306b\u9078\u629e\u3059\u308b\u3002<\/li>\n  <li><strong>\u30a2\u30d1\u30c3\u30c1\u3060\uff1a<\/strong> \u3059\u3079\u3066\u306e\u30ef\u30fc\u30ab\u30fc\u304c\u540c\u6642\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30d2\u30c3\u30c8\u3057\u306a\u3044\u3088\u3046\u306b\u3001CacheLock\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n  <li><strong>\u8cc7\u6e90\u3092\u5236\u9650\u3059\u308b\uff1a<\/strong> \u540c\u6642\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u63a5\u7d9a\u6570\u3001\u30ef\u30fc\u30ab\u30fc\u6570\u3001\u30ad\u30e5\u30fc\u306e\u6df1\u3055\u3092\u9069\u5207\u306b\u8abf\u6574\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u3055\u3089\u306b\u3001\u5c11\u3057\u9577\u3081\u306es-maxage\u3068\u518d\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u540c\u671f\u7684\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u843d\u3061\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u306a\u3044\u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064\u3002<\/p>\n\n<h2>\u6c7a\u65ad\u3044\u3064Nginx\u3092\u4f7f\u3046\u304b\u3001\u3044\u3064Apache\u3092\u4f7f\u3046\u304b\u3001\u3044\u3064Varnish\u3092\u4f7f\u3046\u304b\uff1f<\/h2>\n\n<p>\u9759\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u3084PHP\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u30eb\u30fc\u30eb\u304c\u660e\u78ba\u306a\u5834\u5408\u306f\u3001\u901a\u5e38\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002 <strong>Nginx<\/strong> \u3092FastCGI\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u4e00\u7dd2\u306b\u4f7f\u3063\u3066\u3044\u308b\u3002\u591a\u304f\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3084\u66f8\u304d\u63db\u3048\u30c1\u30a7\u30fc\u30f3\u3001\u7570\u306a\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306e\u6df7\u5728\u64cd\u4f5c\u306a\u3069\u3001\u8907\u96d1\u306a\u30a2\u30d7\u30ea\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u306f\u3001\u79c1\u306f\u3088\u304f <strong>\u30a2\u30d1\u30c3\u30c1<\/strong>.\u8ffd\u52a0\u306e\u30a8\u30c3\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u62e1\u5f35\u30dd\u30ea\u30b7\u30fc\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u305d\u306e\u524d\u306b\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u7f6e\u3044\u3066\u3044\u308b\u3002\u3053\u306e\u30ac\u30a4\u30c9\u306f\u3001\u3053\u308c\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u826f\u3044\u51fa\u767a\u70b9\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u308b\uff1a <a href=\"https:\/\/webhosting.de\/ja\/%e3%83%aa%e3%83%90%e3%83%bc%e3%82%b9%e3%83%97%e3%83%ad%e3%82%ad%e3%82%b7%e3%81%ae%e8%a8%ad%e5%ae%9a-apache-nginx-techboost\/\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a<\/a>.\u512a\u5148\u9806\u4f4d\u3092\u6b63\u3057\u304f\u3064\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3042\u308b\uff1a\u307e\u305a\u6b63\u3057\u3044\u30a2\u30d7\u30ea\u30d8\u30c3\u30c0\u30fc\u3001\u6b21\u306b\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u3001\u6700\u5f8c\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30ad\u30b7\u30ec\u30a4\u30e4\u30fc\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/caching-nginx-apache-night-9472.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u4f55\u304c\u8a31\u3055\u308c\u308b\u304b\uff1f<\/h2>\n\n<p>\u654f\u611f <strong>\u30c7\u30fc\u30bf<\/strong> \u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3001\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u30d0\u30b9\u30b1\u30c3\u30c8\u3001\u6ce8\u6587\u6982\u8981\u3001\u30c1\u30b1\u30c3\u30c8\u3001\u60a3\u8005\u60c5\u5831\u3001\u7ba1\u7406\u30a8\u30ea\u30a2\u306a\u3069\u3067\u3059\u3002\u30d7\u30ed\u30ad\u30b7\u3084\u30d6\u30e9\u30a6\u30b6\u304c\u6a5f\u5bc6\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4fdd\u5b58\u3057\u306a\u3044\u3088\u3046\u306b\u3001\u30af\u30ea\u30a2\u30ad\u30e3\u30c3\u30b7\u30e5\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d8\u30c3\u30c0\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u30af\u30c3\u30ad\u30fc\u306b\u3064\u3044\u3066\u306f\u3001SameSite\u3001HttpOnly\u3001Secure\u3092\u4f7f\u7528\u3057\u3001\u4e00\u8cab\u3057\u3066\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30d1\u30b9\u3092\u5206\u3051\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u8a2d\u5b9a\u30df\u30b9\u3092\u7d20\u65e9\u304f\u8a8d\u8b58\u3059\u308b\u305f\u3081\u306b\u3001\u901a\u5e38\u3068\u306f\u7570\u306a\u308b\u30a2\u30af\u30bb\u30b9\u306e\u30ed\u30b0\u3082\u53d6\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6a5f\u5bc6\u6027\u3092\u640d\u306a\u3046\u3053\u3068\u306a\u304f\u3001\u9ad8\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u7dad\u6301\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<h2>\u30d8\u30c3\u30c0\u30fc\u653f\u7b56\u306e\u5b9f\u969b<\/h2>\n\n<p>\u79c1\u306f\u3001\u3059\u3079\u3066\u306e\u30ec\u30d9\u30eb\u304c\u540c\u3058\u3088\u3046\u306b\u884c\u52d5\u3057\u3001\u77db\u76fe\u3057\u305f\u6307\u793a\u3092\u9001\u3089\u306a\u3044\u3088\u3046\u306b\u3001\u4e00\u8cab\u3057\u305f\u30d8\u30c3\u30c0\u30fc\u30bb\u30c3\u30c8\u3092\u5b9a\u7fa9\u3059\u308b\u3002<\/p>\n<ul>\n  <li><strong>HTML\uff08\u516c\u958b\u3055\u308c\u305f\u304c\u3001\u77ed\u547d\u3060\u3063\u305f\uff09\uff1a<\/strong> Cache-Control: public, s-maxage a few minutes, max-age rather 0-60s, must-revalidate if necessary; ETag\/Last-Modified active.<\/li>\n  <li><strong>\u8cc7\u7523\uff08\u9577\u671f\u6027\uff09\uff1a<\/strong> Cache-Control: public, max-age 1 year, immutable; \u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u540d\uff08\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\uff09\u306a\u306e\u3067\u3001Purge\u306a\u3057\u3067\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u307e\u3059\u3002<\/li>\n  <li><strong>\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30da\u30fc\u30b8\uff1a<\/strong> Cache-Control: no-store, private; Set-Cookie\u306f\u5fc5\u8981\u306a\u5834\u5408\u306e\u307f\u3002Authorisation\u30d8\u30c3\u30c0\u30fc\u3092\u5171\u6709\u3057\u306a\u3044\u3002<\/li>\n  <li><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3068404<\/strong> 301\u306f\u9577\u671f\u9593\u3001302\/307\u306f\u77ed\u671f\u9593\u3060\u3051\u3001404\u306f\u30a8\u30e9\u30fc\u304c\u4fee\u6b63\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u77ed\u671f\u9593\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u3002<\/li>\n  <li><strong>\u5727\u7e2e\uff1a<\/strong> Gzip\/Brotli \u3092\u6709\u52b9\u306b\u3057\u3001Vary: Accept-Encoding \u3092\u8a2d\u5b9a\u3057\u3066\u3001\u30d0\u30ea\u30a2\u30f3\u30c8\u304c\u6b63\u3057\u304f\u5206\u96e2\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u3001\u30d7\u30ed\u30ad\u30b7\u3001\u30b5\u30fc\u30d0\u30fc\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u3044\u305a\u308c\u306b\u5bfe\u3057\u3066\u3082\u3001\u900f\u904e\u7684\u306a\u52d5\u4f5c\u3092\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n<h2>CDN\u3084\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u306e\u76f8\u4e92\u4f5c\u7528<\/h2>\n\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e <strong>\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0<\/strong> \u9759\u7684\u30a2\u30bb\u30c3\u30c8\u3092\u9577\u3044TTL\u3067\u914d\u4fe1\u3059\u308bCDN\u3092\u4f7f\u3046\u3002HTML\u306b\u3064\u3044\u3066\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u3088\u308a\u77ed\u3044TTL\u3092\u8a2d\u5b9a\u3057\u3001CDN\u3067\u5dee\u5225\u5316\u30eb\u30fc\u30eb\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u3001Expires\u3001ETags\u3001Cache-Control\u3092\u5236\u5fa1\u3057\u3066\u3001\u30ea\u30d4\u30fc\u30bf\u30fc\u304c\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u307e\u308a\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d\uff08\u30a2\u30bb\u30c3\u30c8\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\uff09\u306b\u3088\u308a\u3001\u4e0d\u6b63\u78ba\u306a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u9577\u3044\u5b9f\u884c\u6642\u9593\u3092\u53ef\u80fd\u306b\u3059\u308b\u3002 <strong>\u5185\u5bb9<\/strong>.\u79c1\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u30d1\u30fc\u30b8\u3084\u65b0\u3057\u3044\u30a2\u30bb\u30c3\u30c8\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4ecb\u3057\u3066\u5909\u66f4\u3092\u30ed\u30fc\u30eb\u30a2\u30a6\u30c8\u3059\u308b\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/servercaching_nginx_apache_3847.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>\u30ad\u30e3\u30d1\u30b7\u30c6\u30a3\u30fb\u30d7\u30e9\u30f3\u30cb\u30f3\u30b0\u3068\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/h2>\n\n<p>\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u3046\u307e\u304f\u6a5f\u80fd\u3059\u308b\u306e\u306f\u3001\u30b5\u30a4\u30ba\u3001\u30e1\u30e2\u30ea\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u30eb\u30fc\u30eb\u304c\u9069\u5207\u306a\u5834\u5408\u3060\u3051\u3060\u3002\u79c1\u306f\u3001TTL\u3054\u3068\u306e\u30e6\u30cb\u30fc\u30af\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u3068\u305d\u306e\u5e73\u5747\u30b5\u30a4\u30ba\u306b\u57fa\u3065\u3044\u3066\u5fc5\u8981\u306a\u5bb9\u91cf\u3092\u898b\u7a4d\u3082\u308a\u3001\u30d4\u30fc\u30af\u7528\u306e\u30d0\u30c3\u30d5\u30a1\u3092\u8a08\u753b\u3059\u308b\u3002Nginx\u3067\u306f\u3001keys_zone\uff08RAM\u4e0a\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\u3001inactive\uff08\u30d2\u30c3\u30c8\u3057\u306a\u3044\u30d7\u30ed\u30bb\u30b9\uff09\u3001max_size\uff08\u30c7\u30a3\u30b9\u30af\u4e0a\uff09\u3092\u6c7a\u5b9a\u3059\u308b\u3002Apache\u3067\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d1\u30b9\u3068\u6700\u5927\u30b5\u30a4\u30ba\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u306e\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<ul>\n  <li><strong>\u5c02\u7528\u30e1\u30e2\u30ea\uff1a<\/strong> IO\u7af6\u5408\u3092\u6e1b\u3089\u3059\u305f\u3081\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u7528\u306b\u30dc\u30ea\u30e5\u30fc\u30e0\/\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u5206\u96e2\u3002<\/li>\n  <li><strong>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\uff1a<\/strong> noatime\u306a\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001IO\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u524a\u6e1b\u3059\u308b\u3002\u5927\u304d\u306ainode\/\u30d6\u30ed\u30c3\u30af\u306f\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u591a\u304f\u306e\u5c0f\u3055\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n  <li><strong>\u7acb\u3061\u9000\u304d\uff1a<\/strong> LRU\u6226\u7565\u3092\u53d7\u3051\u5165\u308c\u3001\u30db\u30c3\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6b8b\u308b\u3088\u3046\u306bTTL\u3092\u9078\u629e\u3059\u308b\u3002<\/li>\n  <li><strong>\u4e88\u71b1\uff1a<\/strong> \u30c7\u30d7\u30ed\u30a4\u5f8c\u306b\u91cd\u8981\u306a\u30d1\u30b9\u306bPing\u3092\u9001\u4fe1\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u3059\u3050\u306b\u6069\u6075\u3092\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n  <li><strong>htcacheclean\/Manager\uff1a<\/strong> Apache\u306e\u5834\u5408\u306f\u5b9a\u671f\u7684\u306b\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3044\u3001Nginx\u306e\u5834\u5408\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u30fb\u30d7\u30ed\u30bb\u30b9\u3092\u59a8\u5bb3\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u30e1\u30e2\u30ea\u3068\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30b5\u30a4\u30c8\u304c\u5927\u304d\u304f\u306a\u308b\u306b\u3064\u308c\u3066\u5897\u3048\u3066\u3044\u304f\u3002<\/p>\n\n<h2>\u64cd\u4f5c\u3001\u7121\u52b9\u5316\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9<\/h2>\n\n<p>\u79c1\u306f\u660e\u78ba\u306a\u8a08\u753b\u3092\u7acb\u3066\u3066\u3044\u308b\u3002 <strong>\u30d7\u30ed\u30bb\u30b9<\/strong> \u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u66f4\u65b0\u3001\u69cb\u9020\u5909\u66f4\u5f8c\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u691c\u8a3c\u306e\u305f\u3081\u3002\u81ea\u52d5\u5316\u3055\u308c\u305f\u30d5\u30c3\u30af\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u5168\u4f53\u3092\u524a\u9664\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u5f71\u97ff\u3092\u53d7\u3051\u305f\u30d1\u30b9\u3092\u7279\u5225\u306b\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3068\u30a2\u30e9\u30fc\u30e0\u304c\u7570\u5e38\u306a\u30df\u30b9\u7387\u3084\u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\u3092\u5831\u544a\u3059\u308b\u306e\u3067\u3001\u3059\u3050\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002\u79c1\u306f\u3001\u4e00\u8cab\u3057\u305f\u7d50\u679c\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u306b\u3001\u30eb\u30fc\u30eb\u3001\u8cac\u4efb\u3001\u5178\u578b\u7684\u306a\u4f8b\u5916\u3092\u6587\u66f8\u5316\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306f\u4e88\u6e2c\u53ef\u80fd\u3067\u3001\u901f\u304f\u3001\u30c1\u30fc\u30e0\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/09\/server-caching-setup-7492.png\" alt=\"\" width=\"1536\" height=\"1024\" \/>\n<\/figure>\n\n\n<h2>\u7121\u52b9\u5316\u65b9\u6cd5\u3068\u30d1\u30fc\u30b8\u30fb\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n<p>\u30d1\u30fc\u30b8\u30fb\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30b9\u30bf\u30c3\u30af\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u3002\u79c1\u306f\u5b8c\u5168\u524a\u9664\u3092\u5fc5\u8981\u3068\u305b\u305a\u3001\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u6226\u7565\u3092\u597d\u3080\u3002<\/p>\n<ul>\n  <li><strong>\u6642\u9593\u30d9\u30fc\u30b9\u306e\u7121\u52b9\u5316\uff1a<\/strong> HTML\u306e\u77ed\u3044s-maxage\/TTL\u3068\u518d\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3; \u30a2\u30bb\u30c3\u30c8\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u9577\u3044\u307e\u307e\u3067\u3059\u3002<\/li>\n  <li><strong>\u30ad\u30fc\u30d0\u30fc\u30b8\u30e7\u30cb\u30f3\u30b0\uff1a<\/strong> \u30d0\u30fc\u30b8\u30e7\u30f3\u30fb\u30c8\u30fc\u30af\u30f3\uff08\u30d3\u30eb\u30c9ID\u306a\u3069\uff09\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30ad\u30fc\u306b\u7d71\u5408\u3059\u308b\u3002\u30c7\u30d7\u30ed\u30a4\u4e2d\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5909\u308f\u308b\u3068\u3001\u53e4\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30d1\u30fc\u30b8\u3055\u308c\u305a\u306b\u5931\u52b9\u3059\u308b\u3002<\/li>\n  <li><strong>\u6a19\u7684\u3092\u7d5e\u3063\u305f\u7c9b\u6e05\uff1a<\/strong> \u5229\u7528\u53ef\u80fd\u306a\u5834\u5408\u306f\u3001API\/PURGE\u7d4c\u7531\u3067\u9078\u629e\u7684\u306b\u524a\u9664\u3059\u308b\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u7684\u306b\u524a\u9664\u3057\u3001\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3059\u308b\u3002<\/li>\n  <li><strong>\u30a2\u30d7\u30ea\u30ec\u30d9\u30eb\u3067\u306e\u30bf\u30b0\u4ed8\u3051\uff1a<\/strong> \u30da\u30fc\u30b8\u3092\u30b0\u30eb\u30fc\u30d7\/\u30bf\u30b0\u306b\u5272\u308a\u5f53\u3066\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u66f4\u65b0\u3059\u308b\u969b\u306b\u30b0\u30eb\u30fc\u30d7\u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002<\/li>\n  <li><strong>\u30a8\u30c3\u30b8\u3067\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u7981\u6b62\uff1a<\/strong> \u5c02\u7528\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u304c\u4e0a\u6d41\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u30d1\u30bf\u30fc\u30f3\u30d9\u30fc\u30b9\u306e\u30d6\u30ed\u30c3\u30ad\u30f3\u30b0\u3092\u884c\u3046\u3002<\/li>\n<\/ul>\n<p>\u79c1\u306fCI\/CD\u30d7\u30ed\u30bb\u30b9\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u81ea\u52d5\u5316\u3057\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3044\u3064\u3001\u306a\u305c\u7121\u52b9\u5316\u3055\u308c\u305f\u304b\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306e\u30ed\u30b0\u3092\u8a18\u9332\u3057\u3066\u3044\u308b\u3002<\/p>\n\n<h2>\u30c6\u30b9\u30c8\u3068\u54c1\u8cea\u4fdd\u8a3c<\/h2>\n\n<p>\u30eb\u30fc\u30eb\u304c\u7a3c\u52d5\u3059\u308b\u524d\u306b\u3001\u79c1\u306f\u6a5f\u80fd\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u6b63\u3057\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3067\u4f5c\u696d\u3057\u3001\u660e\u78ba\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n<ul>\n  <li><strong>\u30d8\u30c3\u30c0\u30fc\u30c1\u30a7\u30c3\u30af<\/strong> Cache-Control\u3001Vary\u3001ETag\/Last-Modified\u306f\u5404\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3067\u6b63\u3057\u3044\u304b\uff1f<\/li>\n  <li><strong>\u30d2\u30c3\u30c8\uff0f\u30df\u30b9\u5206\u6790<\/strong> \u5909\u66f4\u306b\u3088\u3063\u3066\u30d2\u30c3\u30c8\u7387\u304c\u4e0a\u304c\u308b\u306e\u304b\uff1f\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30da\u30fc\u30b8\u304c\u8aa4\u3063\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u5165\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/li>\n  <li><strong>\u8ca0\u8377\u3068\u30a8\u30e9\u30fc\u306e\u30b1\u30fc\u30b9\uff1a<\/strong> \u30d4\u30fc\u30af\u8ca0\u8377\u3001\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u30015xx\u3067\u306e\u52d5\u4f5c - stale-if-error\u306f\u6709\u52b9\u304b\uff1f<\/li>\n  <li><strong>\u30c7\u30d0\u30a4\u30b9\/\u8a00\u8a9e\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff1a<\/strong> \u30d0\u30ea\u30a2\u30f3\u30c8\u306f\u6b63\u3057\u304f\u5206\u96e2\u3055\u308c\u3001\u6b63\u3057\u304f\u8fd4\u3055\u308c\u3066\u3044\u307e\u3059\u304b\uff1f<\/li>\n  <li><strong>SEO\u306b\u95a2\u9023\u3059\u308b\u30d1\u30b9\uff1a<\/strong> 301\/302\u306e\u51e6\u7406\u3001\u30ab\u30ce\u30cb\u30ab\u30eb\u3001\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3001\u691c\u7d22\u30da\u30fc\u30b8\u304c\u6b63\u3057\u304f\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>\u79c1\u306f\u3001\u6700\u9069\u5316\u304c\u30ea\u30b0\u30ec\u30c3\u30b7\u30e7\u30f3\u306b\u3064\u306a\u304c\u3089\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u5408\u6210\u30c1\u30a7\u30c3\u30af\u3068\u5b9f\u969b\u306e\u30e6\u30fc\u30b6\u30fc\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<h2>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068<\/h2>\n\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e <strong>\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0<\/strong>\u30ec\u30b9\u30dd\u30f3\u30b9\u30bf\u30a4\u30e0\u306e\u77ed\u7e2e\u3001\u30b5\u30fc\u30d0\u30fc\u8ca0\u8377\u306e\u8efd\u6e1b\u3001\u30d4\u30fc\u30af\u8ca0\u8377\u3078\u306e\u5bfe\u5fdc\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002Nginx\u306f\u9ad8\u901f\u306aFastCGI\u3068\u30d7\u30ed\u30ad\u30b7\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u3001Apache\u306f\u53ef\u5909\u30e2\u30b8\u30e5\u30fc\u30eb\u30ed\u30b8\u30c3\u30af\u3068\u304d\u3081\u7d30\u304b\u306a\u5236\u5fa1\u3067\u5370\u8c61\u7684\u3067\u3059\u3002\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4fdd\u8b77\u3059\u308bTTL\u3001\u30d0\u30a4\u30d1\u30b9\u3001\u30d1\u30fc\u30b8\u306e\u6b63\u78ba\u306a\u30eb\u30fc\u30eb\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u610f\u5473\u306e\u3042\u308b\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0 <strong>\u30d8\u30c3\u30c0\u30fc<\/strong> \u306f\u3001\u30eb\u30fc\u30eb\u304c\u6a5f\u80fd\u3057\u3066\u3044\u308b\u304b\u3001\u3069\u3053\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3092\u793a\u3057\u3066\u304f\u308c\u308b\u3002\u30af\u30ea\u30fc\u30f3\u306a\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3001\u660e\u78ba\u306a\u4f8b\u5916\u3001\u8a08\u753b\u7684\u306a\u7121\u52b9\u5316\u306b\u3088\u308a\u3001\u3069\u306e\u30b5\u30a4\u30c8\u3082\u9ad8\u901f\u3067\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u3042\u308a\u7d9a\u3051\u308b\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Nginx\u3068Apache\u3092\u4f7f\u7528\u3057\u305f\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u306b\u3064\u3044\u3066\u3001\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u306e\u624b\u9806\u3084Web\u30b5\u30a4\u30c8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306e\u305f\u3081\u306e\u5c02\u9580\u7684\u306a\u30d2\u30f3\u30c8\u306a\u3069\u3001\u5fc5\u8981\u306a\u77e5\u8b58\u3092\u3059\u3079\u3066\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":12665,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"categories":[676],"tags":[],"class_list":["post-12672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server_vm"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":null,"rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":null,"_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":null,"_edit_lock":null,"_oembed_e7b913c6c84084ed9702cb4feb012ddd":null,"_oembed_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_03514b67990db061d7c4672de26dc514":null,"_oembed_time_03514b67990db061d7c4672de26dc514":null,"rank_math_news_sitemap_robots":null,"rank_math_robots":null,"_eael_post_view_count":"2900","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":null,"_trp_automatically_translated_slug_lv":null,"_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":null,"_trp_automatically_translated_slug_ja":null,"_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":null,"_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_time_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_time_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_59808117857ddf57e478a31d79f76e4d":null,"_oembed_time_59808117857ddf57e478a31d79f76e4d":null,"_oembed_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_81002f7ee3604f645db4ebcfd1912acf":null,"_oembed_time_81002f7ee3604f645db4ebcfd1912acf":null,"_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":null,"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":null,"rank_math_internal_links_processed":null,"_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":null,"litespeed_vpi_list_mobile":null,"rank_math_seo_score":null,"rank_math_contentai_score":null,"ilj_limitincominglinks":null,"ilj_maxincominglinks":null,"ilj_limitoutgoinglinks":null,"ilj_maxoutgoinglinks":null,"ilj_limitlinksperparagraph":null,"ilj_linksperparagraph":null,"ilj_blacklistdefinition":null,"ilj_linkdefinition":null,"_eb_reusable_block_ids":null,"rank_math_focus_keyword":"serverseitiges caching","rank_math_og_content_image":null,"_yoast_wpseo_metadesc":null,"_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":null,"surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"12665","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/12672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/comments?post=12672"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/12672\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media\/12665"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=12672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=12672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=12672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}