{"id":12167,"date":"2026-10-04T17:38:19","date_gmt":"2026-10-04T08:38:19","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=12167"},"modified":"2026-10-28T20:18:17","modified_gmt":"2026-10-28T11:18:17","slug":"wordpress-lcp-tbt-12167","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/wordpress-lcp-tbt-12167\/","title":{"rendered":"WordPress\u306eLCP\u30fbTBT\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u6574\u7406\u3067\u6539\u5584\u3057\u305f\u65bd\u7b56"},"content":{"rendered":"<!-- title: WordPress\u306eLCP\u30fbTBT\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u6574\u7406\u3067\u5927\u5e45\u6539\u5584\u3057\u305f\u5b9f\u9332\ndescription: PageSpeed\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30b9\u30b3\u30a2\u304c17\u219257\u306b\u3001TBT\u304c5.1\u79d2\u2192170ms\u306b\u6539\u5584\u3057\u305f\u5b9f\u969b\u306e\u624b\u9806\u3092\u7d39\u4ecb\u3002Code Profiler\u30fbQuery Monitor\u3067\u539f\u56e0\u3092\u7279\u5b9a\u3057\u3001plugin-handles.php\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u3092\u8a18\u4e8b\u30da\u30fc\u30b8\u304b\u3089\u9664\u53bb\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\ntags: WordPress, LCP\u6539\u5584, TBT\u6539\u5584, Core Web Vitals, PageSpeed Insights, \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584, \u30b5\u30a4\u30c8\u9ad8\u901f\u5316, plugin-handles.php, Code Profiler, Query Monitor -->\n\n<p>WordPress\u306ePageSpeed\u30b9\u30b3\u30a2\u304c<b class=\"fw-600\">17<\/b>\u3068\u3044\u3046\u304b\u306a\u308a\u53b3\u3057\u3044\u72b6\u614b\u304b\u3089\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u306e\u6574\u7406\u3060\u3051\u3067<b class=\"fw-600\">57<\/b>\u307e\u3067\u6539\u5584\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u7279\u306bTBT\uff08Total Blocking Time\uff09\u306f<b class=\"fw-600\">5.1\u79d2 \u2192 170ms<\/b>\u3001LCP\u306f<b class=\"fw-600\">6.45\u79d2 \u2192 2.3\u79d2<\/b>\u3068\u5927\u5e45\u306b\u6539\u5584\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u539f\u56e0\u306e\u7279\u5b9a\u304b\u3089\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u4fee\u6b63\u307e\u3067\u3092\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n\n<!-- \u2605\u76ee\u6b21\u30ea\u30b9\u30c8 -->\n<ul class=\"tocList mt-1r\" data-toc-id=\"js-tocBWGD\"><\/ul>\n<ins class=\"tocBtn is-fixed\" data-toc-id=\"js-tocBWGD\"><\/ins>\n\n<hr class=\"separator mx-auto mt-3r\" \/>\n\n<h2 class=\"fz-xl\">\u307e\u305a\u73fe\u72b6\u3092\u30c4\u30fc\u30eb\u3067\u628a\u63e1\u3059\u308b<\/h2>\n<h3 class=\"fz-ml\">Code Profiler \u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u5225\u306e\u5b9f\u884c\u6642\u9593\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n<p>\u300c\u9045\u3044\u300d\u3068\u308f\u304b\u3063\u3066\u3044\u3066\u3082\u3001\u3069\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u539f\u56e0\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u624b\u306e\u6253\u3061\u3088\u3046\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u6700\u521d\u306b <b class=\"fw-600\">Code Profiler<\/b> \u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb\u30c6\u30fc\u30de\u3054\u3068\u306e\u5b9f\u884c\u6642\u9593\u3092\u8a08\u6e2c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<picture class=\"bd-bounds mt-0.5r\">\n  <img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/code-profiler_26052212112.jpg?ver=20261028201817\" alt=\"\" \/>\n<\/picture>\n\n<p>\u7dcf\u5b9f\u884c\u6642\u9593 0.361\u79d2\u306e\u5185\u8a33\u3092\u898b\u308b\u3068\u3001\u4e0a\u4f4d\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<table class=\"table my-0.75r\">\n  <thead>\n    <tr class=\"rung\">\n      <th>\u30d7\u30e9\u30b0\u30a4\u30f3<\/th>\n      <td>\u5b9f\u884c\u6642\u9593<\/td>\n      <td>\u5168\u4f53\u6bd4<\/td>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr class=\"rung\">\n      <th>Kadence Security Basic<\/th>\n      <td>0.085\u79d2<\/td>\n      <td>24%<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>Content Views<\/th>\n      <td>0.036\u79d2<\/td>\n      <td>10%<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>LiteSpeed Cache<\/th>\n      <td>0.032\u79d2<\/td>\n      <td>9%<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>EWWW Image Optimizer<\/th>\n      <td>0.025\u79d2<\/td>\n      <td>7%<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n<p><b class=\"fw-600\">Content Views\uff08Content Views Pro\uff09<\/b> \u304cPHP\u5b9f\u884c\u6642\u9593\u306e\u4e0a\u4f4d\u306b\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u8a18\u4e8b\u4e00\u89a7\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u304c\u3001\u8a18\u4e8b\u30da\u30fc\u30b8\u3067\u3082JS\/CSS\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u554f\u984c\u3067\u3057\u305f\u3002<\/p>\n<h3 class=\"fz-ml\">Query Monitor \u3067\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n<p>\u6b21\u306b <b class=\"fw-600\">Query Monitor<\/b> \u3067\u30da\u30fc\u30b8\u751f\u6210\u6642\u9593\u30fbDB\u30af\u30a8\u30ea\u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<picture class=\"bd-bounds mt-0.5r\">\n  <img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/query-monitor_2605221251.jpg?ver=20261028201817\" alt=\"\" \/>\n<\/picture>\n\n<table class=\"table my-0.75r\">\n  <thead>\n    <tr class=\"rung\">\n      <th>\u6307\u6a19<\/th>\n      <td>\u5024<\/td>\n      <td>\u8a55\u4fa1<\/td>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr class=\"rung\">\n      <th>Page Generation Time<\/th>\n      <td>0.1964\u79d2<\/td>\n      <td>\ud83d\udfe2 \u826f\u597d<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>Peak Memory<\/th>\n      <td>18.0MB \/ 2,048MB<\/td>\n      <td>\ud83d\udfe2 \u826f\u597d<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>DB Queries<\/th>\n      <td>92\u30af\u30a8\u30ea \/ 0.035\u79d2<\/td>\n      <td>\ud83d\udfe2 \u826f\u597d<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>HTTP API Calls<\/th>\n      <td>None<\/td>\n      <td>\ud83d\udfe2 \u826f\u597d<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n<p>\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u51e6\u7406\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3064\u307e\u308a\u300c\u9045\u3055\u306e\u539f\u56e0\u306f\u30d5\u30ed\u30f3\u30c8\u5074\uff08JS\/CSS\uff09\u300d\u3068\u7d5e\u308a\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<h3 class=\"fz-ml\">plugin-handles.php \u3067\u30d5\u30ed\u30f3\u30c8\u306eJS\/CSS\u4e00\u89a7\u3092\u53ef\u8996\u5316\u3059\u308b<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u5074\u306f\u554f\u984c\u306a\u3044\u3068\u308f\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u30d5\u30ed\u30f3\u30c8\u3067\u5b9f\u969b\u306b\u4f55\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u304b\u3092 <code>plugin-handles.php<\/code> \u3068\u3044\u3046\u30c7\u30d0\u30c3\u30b0\u7528\u30d5\u30a1\u30a4\u30eb\u3067\u53ef\u8996\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code>?debug=true<\/code> \u3092URL\u306b\u4ed8\u4e0e\u3057\u305f\u6642\u3060\u3051\u3001\u753b\u9762\u53f3\u4e0b\u306b\u30ad\u30e5\u30fc\u3055\u308c\u3066\u3044\u308b\u30b9\u30bf\u30a4\u30eb\u30fb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n<picture class=\"bd-bounds mt-0.5r\">\n  <img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/plugin-handles_2605221251.jpg?ver=20261028201817\" alt=\"\" \/>\n<\/picture>\n\n<p>\u8a18\u4e8b\u30da\u30fc\u30b8\u306b\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u305f\u4e0d\u8981\u306a\u30cf\u30f3\u30c9\u30eb\u306e\u4f8b\uff1a<\/p>\n<p><b class=\"fw-600\">Styles\uff08CSS\uff09<\/b><\/p>\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\n  <li><code>pt-cv-public-style<\/code> \u2014 Content Views\uff08\u8a18\u4e8b\u30da\u30fc\u30b8\u4e0d\u8981\uff09<\/li>\n  <li><code>pt-cv-public-pro-style<\/code> \u2014 Content Views Pro\uff08\u8a18\u4e8b\u30da\u30fc\u30b8\u4e0d\u8981\uff09<\/li>\n  <li><code>classic-theme-styles<\/code> \u2014 \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u4e0d\u4f7f\u7528\u306a\u306e\u3067\u4e0d\u8981<\/li>\n  <li><code>wp-block-styles-placeholder<\/code> \u2014 \u540c\u4e0a<\/li>\n  <li><code>wp-global-styles-placeholder<\/code> \u2014 \u540c\u4e0a<\/li>\n<\/ul>\n<p><b class=\"fw-600\">Scripts\uff08JS\uff09<\/b><\/p>\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\n  <li><code>pt-cv-content-views-script<\/code> \u2014 Content Views\uff08\u8a18\u4e8b\u30da\u30fc\u30b8\u4e0d\u8981\uff09<\/li>\n  <li><code>pt-cv-public-pro-script<\/code> \u2014 Content Views Pro\uff08\u8a18\u4e8b\u30da\u30fc\u30b8\u4e0d\u8981\uff09<\/li>\n<\/ul>\n\n<hr class=\"separator mx-auto mt-3r\" \/>\n\n<h2 class=\"fz-xl\">plugin-handles.php \u306e\u5b9f\u88c5\u3068\u9664\u53bb<\/h2>\n<p><code>plugin-handles.php<\/code> \u306f\u30c7\u30d0\u30c3\u30b0\u8868\u793a\u3068\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306eCSS\/JS\u7121\u52b9\u5316\u3092\u4e00\u30d5\u30a1\u30a4\u30eb\u3067\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002<code>head.php<\/code> \u304b\u3089 <code>wp_head()<\/code> \u3088\u308a\u524d\u306b <code>include<\/code> \u3059\u308b\u3060\u3051\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;!-- plugin-handles.php\uff08wp_head() \u3088\u308a\u524d\u306b include\uff09 --&gt;\n&lt;?php $_f = do_shortcode(&#39;&lsqb;root_themepath&rsqb;&#39;) . &#39;\/commons\/plugin-handles.php&#39;;\nif (file_exists($_f)) include $_f; ?&gt;\n<\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u306f3\u3064\u306e\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002<\/p>\n<h3 class=\"fz-ml\">\u2460 \u30c7\u30d0\u30c3\u30b0\u5224\u5b9a<\/h3>\n<pre><code class=\"language-php\">$_zaratan_debug = isset($_GET&lsqb;&#39;debug&#39;&rsqb;) &amp;&amp;\n  in_array(strtolower((string) $_GET&lsqb;&#39;debug&#39;&rsqb;), &lsqb;&#39;true&#39;, &#39;1&#39;, &#39;&#39;&rsqb;, true);\n<\/code><\/pre>\n<p><code>?debug=true<\/code> \u307e\u305f\u306f <code>?debug=1<\/code> \u306e\u6642\u3060\u3051\u30c7\u30d0\u30c3\u30b0UI\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u672c\u756a\u30a2\u30af\u30bb\u30b9\u3067\u306f\u4f55\u3082\u51fa\u529b\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3 class=\"fz-ml\">\u2461 \u30c7\u30d0\u30c3\u30b0\u6642\u306e\u30cf\u30f3\u30c9\u30eb\u4e00\u89a7\u8868\u793a<\/h3>\n<pre><code class=\"language-php\">if ($_zaratan_debug) {\n  add_action(&#39;wp_head&#39;, function () {\n    $wp_styles  = wp_styles();\n    $wp_scripts = wp_scripts();\n    \/\/ ... \u753b\u9762\u53f3\u4e0b\u306b\u30ad\u30e5\u30fc\u4e00\u89a7\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u8868\u793a\n  }, 999); \/\/ \u512a\u5148\u5ea6999\uff1awp_head() \u306e\u6700\u5f8c\u306b\u51fa\u529b\n}\n<\/code><\/pre>\n<p><code>wp_head()<\/code> \u3088\u308a\u5f8c\u306e\u30d5\u30c3\u30af\uff08\u512a\u5148\u5ea6999\uff09\u3067\u51fa\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u6642\u70b9\u3067\u767b\u9332\u6e08\u307f\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u3059\u3079\u3066\u62fe\u3048\u307e\u3059\u3002<\/p>\n<h3 class=\"fz-ml\">\u2462 \u30d7\u30e9\u30b0\u30a4\u30f3CSS\/JS\u306e\u7121\u52b9\u5316<\/h3>\n<pre><code class=\"language-php\">add_action(&#39;wp_print_styles&#39;, function () {\n  \/\/ \u30b3\u30f3\u30bf\u30af\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4ee5\u5916\u3067\u7121\u52b9\u5316\n  if (!is_page_template(&#39;templates\/page-contact.php&#39;)) {\n    wp_dequeue_style(&#39;wp-block-library&#39;);\n    wp_dequeue_style(&#39;contact-form-7&#39;);\n  }\n\n  \/\/ \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u95a2\u9023\uff08\u30af\u30e9\u30b7\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u4f7f\u7528\u306e\u305f\u3081\u4e0d\u8981\uff09\n  wp_dequeue_style(&#39;classic-theme-styles&#39;);\n  wp_dequeue_style(&#39;wp-block-styles-placeholder&#39;);\n  wp_dequeue_style(&#39;wp-global-styles-placeholder&#39;);\n  wp_dequeue_style(&#39;global-styles&#39;);\n  wp_dequeue_style(&#39;core-block-supports-duotone&#39;);\n\n  \/\/ Content Views Pro\uff1a\u8a18\u4e8b\u30da\u30fc\u30b8\u3067\u306f\u4e0d\u8981\n  if (is_single()) {\n    wp_dequeue_style(&#39;pt-cv-public-style&#39;);\n    wp_dequeue_style(&#39;pt-cv-public-pro-style&#39;);\n  }\n}, 100);\n\nadd_action(&#39;wp_print_scripts&#39;, function () {\n  if (!is_page_template(&#39;templates\/page-contact.php&#39;)) {\n    wp_deregister_script(&#39;contact-form-7&#39;);\n  }\n\n  if (is_single()) {\n    wp_dequeue_script(&#39;pt-cv-content-views-script&#39;);\n    wp_dequeue_script(&#39;pt-cv-public-pro-script&#39;);\n  }\n}, 100);\n<\/code><\/pre>\n<p><b class=\"fw-600\">\u30dd\u30a4\u30f3\u30c8\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5224\u5b9a\u3092\u4f7f\u3046<\/b><\/p>\n<p><code>!is_page(&lsqb;&#39;contact&#39;, &#39;request&#39;, ...&rsqb;)<\/code> \u306e\u3088\u3046\u306a\u30b9\u30e9\u30c3\u30b0\u5217\u6319\u3067\u306a\u304f\u3001<code>!is_page_template(&#39;templates\/page-contact.php&#39;)<\/code> \u3067\u5224\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u30b9\u30e9\u30c3\u30b0\u304c\u5897\u3048\u308b\u305f\u3073\u306b\u4fee\u6b63\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3092\u907f\u3051\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<h3 class=\"fz-ml\">\u2463 specific-stylesandscripts.php \u3067\u30da\u30fc\u30b8\u56fa\u6709\u306eCSS\/JS\u3092\u7ba1\u7406<\/h3>\n<p>Contact Form 7 \u306e ajaxzip3 \u306e\u3088\u3046\u306b\u3001\u7279\u5b9a\u30da\u30fc\u30b8\u306b\u3057\u304b\u5fc5\u8981\u306a\u3044JS\/CSS\u306f <code>specific-stylesandscripts.php<\/code> \u306b\u96c6\u7d04\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php if (is_page_template(&#39;templates\/page-contact.php&#39;)) : ?&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;...fm-contact4fnR.css&quot; \/&gt;\n  &lt;script src=&quot;...jquery-ui.min.js&quot;&gt;&lt;\/script&gt;\n  &lt;script src=&quot;...ajaxzip3.js&quot;&gt;&lt;\/script&gt;\n&lt;?php endif; ?&gt;\n<\/code><\/pre>\n<p><code>head.php<\/code> \u304b\u3089\u306f\u3053\u306e1\u884c\u3060\u3051\u3067\u8aad\u307f\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php $_f = get_theme_file_path() . &#39;\/js\/specific-stylesandscripts.php&#39;;\nif (file_exists($_f)) include $_f; ?&gt;\n<\/code><\/pre>\n\n<hr class=\"separator mx-auto mt-3r\" \/>\n\n<h2 class=\"fz-xl\">\u5bfe\u5fdc\u5f8c\u306e\u5909\u5316<\/h2>\n\n<picture class=\"bd-bounds mt-0.5r\">\n  <img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/plugin-handles_2605221313.jpg?ver=20261028201817\" alt=\"\" \/>\n<\/picture>\n\n\n<p>\u9664\u53bb\u5f8c\u306eQueuing\u4e00\u89a7\u3067\u3059\u3002Content Views\u306eJS\/CSS\u3068\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u7cfb\u306e\u30cf\u30f3\u30c9\u30eb\u304c\u6d88\u3048\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>PageSpeed Insights\u306e\u6570\u5024\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6539\u5584\u3057\u307e\u3057\u305f\u3002<\/p>\n<table class=\"table my-0.75r\">\n  <thead>\n    <tr class=\"rung\">\n      <th>\u6307\u6a19<\/th>\n      <td>\u4f5c\u696d\u524d<\/td>\n      <td>\u4f5c\u696d\u5f8c<\/td>\n      <td>\u5909\u5316<\/td>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr class=\"rung\">\n      <th>Performance\uff08\u30e2\u30d0\u30a4\u30eb\uff09<\/th>\n      <td>17<\/td>\n      <td><b class=\"fw-600\">57<\/b><\/td>\n      <td>+40<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>LCP<\/th>\n      <td>6.45\u79d2<\/td>\n      <td><b class=\"fw-600\">2.3\u79d2<\/b><\/td>\n      <td>\u2705 \u76ee\u6a19\u5024\u5185<\/td>\n    <\/tr>\n    <tr class=\"rung\">\n      <th>TBT<\/th>\n      <td>5.1\u79d2<\/td>\n      <td><b class=\"fw-600\">170ms<\/b><\/td>\n      <td>\u2705 \u5927\u5e45\u6539\u5584<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n<p>TBT\u306e\u6539\u5584\u304c\u7279\u306b\u5927\u304d\u304f\u3001<b class=\"fw-600\">5,100ms \u2192 170ms\uff0897%\u524a\u6e1b\uff09<\/b>\u3067\u3059\u3002Content Views Pro\u306eJS\u304c\u6bce\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u305f\u3053\u3068\u304cTBT\u306e\u4e3b\u306a\u539f\u56e0\u3060\u3063\u305f\u3068\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n\n<hr class=\"separator mx-auto mt-3r\" \/>\n\n<h2 class=\"fz-xl\">\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306e\u6539\u5584\u3092\u307e\u3068\u3081\u308b\u3068\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p><b class=\"fw-600\">\u539f\u56e0\u306e\u7279\u5b9a\u306b\u4f7f\u3063\u305f\u30c4\u30fc\u30eb<\/b>\u306f Code Profiler\uff08\u30d7\u30e9\u30b0\u30a4\u30f3\u5225PHP\u5b9f\u884c\u6642\u9593\uff09\u3068 Query Monitor\uff08DB\u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30b5\u30fc\u30d0\u30fc\u5168\u822c\uff09\u3001plugin-handles.php\uff08\u30d5\u30ed\u30f3\u30c8\u306eJS\/CSS\u4e00\u89a7\uff09\u306e3\u3064\u3067\u3059\u3002<\/p>\n<p><b class=\"fw-600\">\u5b9f\u969b\u306b\u3084\u3063\u305f\u3053\u3068<\/b>\u306f\u4e3b\u306b3\u3064\u3067\u3059\u3002\u307e\u305a <code>is_single()<\/code> \u3067\u8a18\u4e8b\u30da\u30fc\u30b8\u3092\u5224\u5b9a\u3057\u3001Content Views Pro\u306eJS\/CSS 4\u30d5\u30a1\u30a4\u30eb\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\u3002\u6b21\u306b\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u305f\u3081 <code>classic-theme-styles<\/code> \u3084 <code>wp-block-styles-placeholder<\/code> \u306a\u3069\u306e\u7a7a\u30cf\u30f3\u30c9\u30eb\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\u3002\u6700\u5f8c\u306b\u30b3\u30f3\u30bf\u30af\u30c8\u30d5\u30a9\u30fc\u30e0\u5c02\u7528\u306e ajaxzip3 \u306a\u3069\u306f <code>specific-stylesandscripts.php<\/code> \u306b\u79fb\u52d5\u3057\u3001\u305d\u306e\u30da\u30fc\u30b8\u306e\u307f\u3067\u8aad\u307f\u8fbc\u3080\u5f62\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u6574\u7406\u306f\u300c\u3069\u306e\u30da\u30fc\u30b8\u3067\u4f55\u304c\u5fc5\u8981\u304b\u300d\u3092\u628a\u63e1\u3059\u308b\u3060\u3051\u3067\u53d6\u308a\u7d44\u3081\u308b\u6539\u5584\u3067\u3059\u3002\u7279\u306b Content Views \u306e\u3088\u3046\u306a\u8a18\u4e8b\u4e00\u89a7\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001\u4e00\u89a7\u30da\u30fc\u30b8\u306b\u3057\u304b\u4f7f\u3063\u3066\u3044\u306a\u3044\u306e\u306b\u5168\u30da\u30fc\u30b8\u3067\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u30b1\u30fc\u30b9\u304c\u591a\u3044\u305f\u3081\u3001\u78ba\u8a8d\u3057\u3066\u307f\u308b\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<hr class=\"separator mx-auto mt-3r\" \/>\n\n<h2 id=\"\u95a2\u9023\u8a18\u4e8b\" class=\"fz-xl\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n<a href=\"https:\/\/code-plus.jp\/gp\/web-performance-15343\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">\u30b5\u30a4\u30c8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30d6\u30ed\u30c3\u30af\u5bfe\u7b56\uff5cPageSpeed Insights\u6539\u5584\uff08\u52b9\u3044\u305f\u65bd\u7b56\u3068\u9006\u52b9\u679c\u3060\u3063\u305f\u65bd\u7b56\uff09 | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Web_2D_2-3-2.jpg?ver=20261028201817\" alt=\"\u30b5\u30a4\u30c8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30d6\u30ed\u30c3\u30af\u5bfe\u7b56\uff5cPageSpeed Insights\u6539\u5584\uff08\u52b9\u3044\u305f\u65bd\u7b56\u3068\u9006\u52b9\u679c\u3060\u3063\u305f\u65bd\u7b56\uff09 | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">PageSpeed Insights\u306e\u300c\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u30d6\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u306b\u5bfe\u5fdc\u3057\u305f\u8a18\u9332\u3067\u3059\u3002JS\u306edefer\u5316\u3001CSS\u306e\u975e\u540c\u671f\u8aad\u307f\u8fbc\u307f\u3001\u672a\u4f7f\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u524a\u9664\u3092\u9806\u306b\u8a66\u3057\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30b9\u30b3\u30a2\u306f55\u304b\u3089\u6700\u9ad876\u306b\u306a\u308a\u307e\u3057\u305f\u3002CSS\u3092\u5168\u90e8\u975e\u540c...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\n\n<a href=\"https:\/\/code-plus.jp\/gp\/wordpress-cls-12248\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">WordPress\u306eCLS\u304c0.7\u21920\u306b\uff01\u30d1\u30f3\u304f\u305a\u30fb\u76ee\u6b21\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u72af\u4eba\u3060\u3063\u305f\u8a71 | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/CLS_Web_2D_2-3.jpg?ver=20261028201817\" alt=\"WordPress\u306eCLS\u304c0.7\u21920\u306b\uff01\u30d1\u30f3\u304f\u305a\u30fb\u76ee\u6b21\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u72af\u4eba\u3060\u3063\u305f\u8a71 | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">PageSpeed Insights\u306eCLS\u304c\u5b89\u5b9a\u305b\u305a\u3001\u6559\u79d1\u66f8\u901a\u308a\u306e\u753b\u50cf\u30b5\u30a4\u30ba\u6307\u5b9a\u3084\u30d5\u30a9\u30f3\u30c8\u5bfe\u7b56\u3067\u306f\u5168\u304f\u6539\u5584\u3057\u306a\u3044\u3002\u30d1\u30f3\u304f\u305a\u30fb\u76ee\u6b21\u306e\u9045\u5ef6CSS\u3001\u305d\u3057\u3066Content Views\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u52d5\u7684\u63cf\u753b\u304c\u771f\u72af\u4eba\u3067\u3057\u305f\u3002LiteSpeed Cache\u306b\u60d1\u308f...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\n\n<a href=\"https:\/\/code-plus.jp\/gp\/wp-image-management-15052\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">WordPress\u306e\u753b\u50cf\u7ba1\u7406\uff5c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u753b\u50cf\u3092\u6700\u9069\u306a\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3059\u308b\u4ed5\u7d44\u307f | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n\n<span class=\"linkbox-excerpt\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u3069\u3093\u306a\u5927\u304d\u3055\u306e\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u3082\u3001WordPress\u3067\u6700\u9069\u306a\u30b5\u30a4\u30ba\u3092\u8868\u793a\u3059\u308b\u4ed5\u7d44\u307f\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u753b\u50cf\u30b5\u30a4\u30ba\u306e\u767b\u9332\u3001\u30e1\u30c7\u30a3\u30a2\u633f\u5165\u6642\u306e\u521d\u671f\u30b5\u30a4\u30ba\u3092\u300c\u5927\u300d\u306b\u56fa\u5b9a\u3059\u308b\u30b3\u30fc\u30c9\u3001srcset\u306e\u52b9\u304d\u65b9\u3001\u7e2e\u5c0f\u306e\u76ee\u5b89\u3001alt\u306e\u4ed8\u3051\u65b9\u307e\u3067\u307e\u3068\u3081\u307e\u3057...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\n\n<a href=\"https:\/\/code-plus.jp\/gp\/ewww-image-optimizer-15042\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">EWWW Image Optimizer\u306e\u8a2d\u5b9a\uff5c\u7121\u6599\u7248\u3067\u753b\u50cf\u3092\u81ea\u52d5\u5727\u7e2e\u30fbWebP\u5316\u3059\u308b\u624b\u9806 | CODE-PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n\n<span class=\"linkbox-excerpt\">WordPress\u306e\u753b\u50cf\u6700\u9069\u5316\u30d7\u30e9\u30b0\u30a4\u30f3\u300cEWWW Image Optimizer\u300d\u3092\u7121\u6599\u7248\u3067\u4f7f\u3046\u3068\u304d\u306e\u8a2d\u5b9a\u3092\u3001\u30bf\u30d6\u3054\u3068\u306b\u753b\u9762\u3064\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002\u6700\u5927\u753b\u50cf\u30b5\u30a4\u30ba2560px\u3001\u30d4\u30af\u30bb\u30eb\u30d1\u30fc\u30d5\u30a7\u30af\u30c8\u5727\u7e2e\u3001WebP\u5909\u63db\u3068\u30ea\u30e9\u30a4\u30c8\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u3001\u6709\u6599\u306e\u300c\u7c21\u5358I...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>","protected":false},"excerpt":{"rendered":"WordPress\u306ePageSpeed\u30b9\u30b3\u30a2\u304c17\u3068\u3044\u3046\u304b\u306a\u308a\u53b3\u3057\u3044\u72b6\u614b\u304b\u3089\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJS\/CSS\u306e\u6574\u7406\u3060\u3051\u306757\u307e\u3067\u6539\u5584\u3067\u304d\u307e\u3057\u305f\u3002 \u7279\u306bTBT\uff08Total Blocking Time\uff09\u306f5.1\u79d2 \u2192 170ms\u3001[...]","protected":false},"author":1,"featured_media":12170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9,13],"tags":[834,833,832,831,499,498,461,202,152,70],"group":[],"pg":[],"class_list":["post-12167","post","type-post","status-publish","format-standard","has-post-thumbnail","category-php-wordpress","category-analytic","tag-code-profiler","tag-plugin-handles-php","tag-lcp","tag-query-monitor","tag-tbt","tag-pagespeed-insights","tag-core-web-vitals","tag-202","tag-152","tag-wordpress"],"acf":[],"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/12167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=12167"}],"version-history":[{"count":1,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/12167\/revisions"}],"predecessor-version":[{"id":15857,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/12167\/revisions\/15857"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/12170"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=12167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=12167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=12167"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=12167"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=12167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}