{"id":893,"date":"2022-02-22T00:00:00","date_gmt":"2022-02-21T16:00:00","guid":{"rendered":"http:\/\/13.125.168.60\/improve-pagespeed-by-using-gtmetrix\/"},"modified":"2024-01-30T16:15:58","modified_gmt":"2024-01-30T08:15:58","slug":"improve-pagespeed-by-using-gtmetrix","status":"publish","type":"post","link":"https:\/\/ctkpro.com\/blog\/improve-pagespeed-by-using-gtmetrix\/","title":{"rendered":"\u4ee5 gtmetrix \u70ba\u4f8b\uff0c\u8abf\u6574\u7db2\u7ad9\u901f\u5ea6"},"content":{"rendered":"

[vc_row use_row_as_full_screen_section=”no” center_bck_image=”no” el_class=”container mx-auto blogContent”][vc_column css=”.vc_custom_1533708507132″][vc_column_text css=”.vc_custom_1550819629886″]\u7db2\u7ad9\u901f\u5ea6\u7684\u91cd\u8981\u6027\uff0cCTK Pro \u5df2\u7d93\u5728\u4e4b\u524d\u7684 blog \u4e2d<\/a>\u63d0\u904e\u8a31\u591a\u6b21\u4e86\u3002\u5c0d\u4f7f\u7528\u8005\u4f86\u8aaa\uff0c\u5373\u4fbf\u6709\u518d\u597d\u7db2\u9801\u8a2d\u8a08\u3001 UX \u8a2d\u8a08\u3001\u6587\u6848\u7d20\u6750\uff0c\u7576\u7db2\u7ad9\u901f\u5ea6\u4eae\u8d77\u7d05\u71c8\u6642\uff0c\u4f7f\u7528\u8005\u6c7a\u5b9a\u8981\u96e2\u958b\u4f60\u7684\u7db2\u7ad9\uff0c\u90fd\u662f\u767d\u642d\u3002\u8981\u907f\u514d\u9019\u6a23\u7684\u6158\u6cc1\u767c\u751f\uff0c\u4e0d\u53ea\u5728\u7db2\u7ad9\u5efa\u7f6e\u4e4b\u521d\uff0c\u5f8c\u7e8c\u7dad\u8b77\u3001\u65b0\u589e\u6587\u7ae0\u4e0a\u7a3f\u6642\uff0c\u4e5f\u61c9\u6642\u5e38\u6aa2\u6e2c\u7db2\u9801\u901f\u5ea6\uff0c\u4e26\u4f5c\u5fc5\u8981\u4e4b\u8abf\u6574\u3002<\/p>\n

\u7531\u65bc Google \u5e38\u7528\u5de5\u5177\u7684 PageSpeed Insight<\/a>\u00a0\u5728\u6539\u7248\u5f8c\uff0c\u6709\u5e7e\u9805\u8a2d\u7f6e\u662f\u8a31\u591a\u5927\u7db2\u7ad9\u4e5f\u7121\u6cd5\u9054\u6210\u7684\uff0c\u50cf\u662f\u898f\u7bc4\u8981\u4f7f\u7528 Offscreen Images\u3001Next-Gen Formats\uff08\u5176\u4e2d\u9084\u6709\u8a31\u591a\u7db2\u9801\u4e0d\u652f\u63f4\uff0c\u9019\u5176\u5be6\u4e5f\u544a\u8a34\u6211\u5011\uff0c\u7db2\u9801\u7684\u901f\u5ea6\u512a\u5316\u61c9\u505a\u5230\u9069\u53ef\u800c\u6b62\uff0c\u5c07\u91cd\u8981\u9805\u76ee\u9054\u6210\uff0c\u800c\u975e\u4e00\u5473\u8ffd\u6c42\u9ad8\u5206\uff09\u3002<\/span><\/p>\n

\u9019\u88e1\u5c31\u4ee5\u5df2\u7d93\u5206\u6790\u904e\u8d85\u904e\u4e09\u5104\u500b\u7db2\u7ad9\u7684 gtmetrix <\/a>\u70ba\u4f8b\u5b50\uff0c\u770b\u770b\u7db2\u9801\u901f\u5ea6\u512a\u5316\uff0c\u5230\u5e95\u8981\u505a\u54ea\u4e9b\u4e8b\u60c5\u3002<\/span>[\/vc_column_text][vc_column_text css=”.vc_custom_1550820057311″]\"\"<\/p>\n

\u8eab\u70ba\u7db2\u9801\u8a2d\u8a08\u516c\u53f8\uff0c\u5c31\u4e0d\u5f9e\u9032\u5165\u7db2\u7ad9\uff0c\u8f38\u5165\u7db2\u5740\u9ede\u64ca\u5206\u6790\u9019\u6a23\u300c\u5165\u9580\u300d\u7684\u6559\u5b78\u958b\u59cb\uff0c\u5b8c\u6210\u4e0a\u8ff0\u6b65\u9a5f\u5f8c\uff0c\u5370\u5165\u773c\u7c3e\u7684\u5176\u5be6\u662f\u5e7e\u9805\u7db2\u7ad9\u57fa\u672c\u8cc7\u8a0a\u5305\u542b\uff1aGoogle \u7684 PageSpeed Score\u3001Yahoo \u7684 YSlow Score\uff0c\u9084\u6709\u7db2\u7ad9\u8b80\u53d6\u5b8c\u5168\u7684\u6642\u9593\uff08Fully Loaded Time\uff09\u3001\u6574\u9ad4\u5927\u5c0f*\uff08Total Page Size\uff09\uff0c\u4ee5\u53ca\u8981\u6c42\u5b58\u53d6\u6b21\u6578\uff08Request\uff09\u3002gtmetrix \u5e6b\u4f60\u628a\u9019\u5e7e\u9805\u6307\u6a19\u8ddf\u5e73\u5747\u503c\u505a\u4e00\u500b\u6bd4\u8f03\uff0c\u82e5\u65c1\u908a\u6709\u7d05\u8272\u7bad\u982d\uff0c\u4ee3\u8868\u4f4e\u65bc\u5e73\u5747\uff0c\u7da0\u8272\u7bad\u982d\u4ee3\u8868\u512a\u65bc\u5e73\u5747\uff0c\u6301\u5e73\u5247\u6a19\u793a\u70ba\u9ec3\u8272\u3002<\/p>\n

*\u6574\u9ad4\u5927\u5c0f\u5176\u5be6\u4e26\u4e0d\u80fd\u5b8c\u5168\u9ad4\u9a57\u7db2\u9801\u8b80\u53d6\u7684\u6642\u9593\uff0c\u73fe\u4ee3\u8a31\u591a\u7db2\u7ad9\u5177\u5099 Lazy Loading \u7684\u80fd\u529b\uff0c\u4e14\u591a\u6578\u7db2\u7ad9\u5728\u8b80\u53d6\u4e00\u5b9a\u7684\u5167\u5bb9\u5f8c\uff0c\u5373\u53ef\u8b93\u4f7f\u7528\u8005\u300c\u6b63\u5e38\u64cd\u4f5c\u300d\u3002<\/p>\n

\"\"<\/p>\n

\u6bd4\u8d77\u4e00\u6b21\u6027\u6aa2\u6e2c\u7db2\u7ad9\uff0c\u6301\u7e8c\u8ffd\u8e64\u7db2\u9801\u901f\u5ea6\uff0c\u6709\u52a9\u65bc\u5feb\u901f\u6293\u5230\u62d6\u6162\u7db2\u9801\u901f\u5ea6\u5143\u5147\uff0c\u5f97\u4ee5\u9069\u6642\u8abf\u6574\u3002\u82e5\u7db2\u7ad9\u6574\u9ad4\u901f\u5ea6\u4e00\u76f4\u7dad\u6301\u7684\u4e0d\u932f\uff0c\u5ba2\u6236\u7aef\u81ea\u5df1\u64cd\u4f5c\u6642\uff0c\u6703\u62d6\u6162\u7db2\u9801\u901f\u5ea6\u7684\u539f\u56e0\uff0c\u4e0d\u5916\u4e4e\u662f\u4e0a\u50b3\u4e86\u904e\u65bc\u80a5\u5927\u7684\u5716\u7247\u3001\u6539\u52d5\u5230\u7db2\u9801\u5feb\u53d6\u8a2d\u5b9a\uff0c\u6216\u662f\u66f4\u52d5\u5230 WordPress \u91cd\u5927\u66f4\u65b0\u3001\u4f3a\u670d\u5668\u7aef\u51fa\u73fe\u554f\u984c\u7b49\u7b49\uff0c\u6709\u4e86\u901f\u5ea6\u76e3\u6e2c\uff0c\u53ef\u4ee5\u66f4\u5feb\u627e\u51fa\u539f\u56e0\uff0c\u82e5\u662f\u81ea\u884c\u7dad\u8b77\u7db2\u7ad9\u8005\uff0c\u662f\u4e00\u5927\u798f\u97f3\u3002[\/vc_column_text][vc_column_text css=”.vc_custom_1550823308754″]\u82e5\u662f\u8a3b\u518a\u4e86\u5e33\u865f\uff0c\u9084\u53ef\u4ee5\u5c31\u6e2c\u8a66\u5730\u9ede\u3001\u901f\u5ea6\u9650\u5236\u7b49\u8abf\u6574\uff08\u82e5\u662f\u4ed8\u8cbb\u65b9\u6848\uff0c\u7576\u7136\u5c31\u66f4\u591a\u9078\u64c7\uff09\u3002\u5be6\u969b\u4e0a\uff0c\u4e0d\u540c\u7684\u5730\u5340\u8b80\u53d6\u7db2\u9801\uff0c\u8ddf\u5728\u53f0\u7063\u7684\u5be6\u969b\u9ad4\u9a57\u4ecd\u6703\u6709\u4e00\u5b9a\u7684\u5dee\u8ddd\uff0c\u53ea\u662f\u53ef\u4ee5\u8abf\u6574\u7684\u6771\u897f\u76f8\u5c0d\u662f\u56fa\u5b9a\u7684\uff0c\u4e00\u500b\u5730\u5340\u901f\u5ea6\u8f03\u5feb\uff0c\u53f0\u7063\u4f7f\u7528\u8005\u7684\u700f\u89bd\u9ad4\u9a57\u76f8\u5c0d\u4e5f\u6703\u63d0\u6607\u3002<\/p>\n

\"\"<\/p>\n

[\/vc_column_text][vc_column_text css=”.vc_custom_1550913813803″]\u7db2\u9801\u901f\u5ea6\u53ef\u4ee5\u8abf\u6574\u7684\u9805\u76ee\uff0c\u6797\u6797\u7e3d\u7e3d\u52a0\u8d77\u4f86\u6578\u5341\u9805\u4e4b\u591a\uff0c\u8fd1\u4f86 CTK Pro \u90fd\u4ee5 WordPress \u4f5c\u70ba\u6838\u5fc3\u70ba\u5ba2\u6236\u8a2d\u8a08\u7db2\u9801\uff0c\u5c31\u8b93\u6211\u5011\u770b\u770b gtmetrix \u5efa\u8b70 WordPress \u67b6\u7ad9\u8005\uff0c\u8a72\u5982\u4f55<\/span>\u589e\u9032\u4ed6\u5011\u7db2\u9801\u7684\u6548\u80fd<\/span><\/a>\u5427\u3002<\/span><\/p>\n

\u4e00\u3001\u4f7f\u7528\u5099\u4efd Plugin<\/strong><\/p>\n

\u5982\u540c\u4e4b\u524d\u66f4\u65b0 WordPress 5.0.x \u7684\u6587\u7ae0<\/a>\u4e00\u6a23\uff0c\u7db2\u7ad9\u6539\u52d5\u524d\u6700\u597d\u5148\u5c07\u5fc5\u8981\u8cc7\u8a0a\u5099\u4efd\u4e0b\u4f86<\/p>\n

\u4e8c\u3001\u8abf\u6574\u5716\u7247\u5927\u5c0f<\/strong><\/p>\n

\u5716\u7247\u7d55\u5c0d\u662f\u5f71\u97ff\u7db2\u9801\u901f\u5ea6\u7684\u95dc\u9375\u56e0\u7d20\uff0c\u4f7f\u7528 WordPress \u90fd\u53ef\u4ee5\u9078\u5b9a\u5716\u7247\u7684\u5927\u5c0f\u3002\u82e5\u80fd\u5728\u4e0a\u50b3\u524d\u5148\u7d93\u904e\u58d3\u7e2e\u3001\u88c1\u5207\u7b49\uff0c\u7576\u7136\u662f\u6700\u4f73\u89e3\u6cd5\u3002\u82e5\u60f3\u8981\u4e00\u6b21\u641e\u5b9a\u4e4b\u524d\u904e\u5927\u7684\u5716\u7247\uff0c\u4e5f\u6709\u5916\u639b\u5982 WP Smush\u3001tinyjpg \u53ef\u4ee5\u4e00\u6b21\u58d3\u7e2e\u591a\u5f35\u5716\u7247\u3002<\/p>\n

\u4e09\u3001\u4f7f\u7528\u7db2\u9801\u5feb\u53d6\u4e4b\u5916\u639b<\/strong><\/p>\n

\u7db2\u7ad9\u5feb\u53d6\u662f\u5c07\u8cc7\u6599\u6253\u5305\uff0c\u7576\u4e0b\u4e00\u6b21\u6709\u4eba\u8acb\u6c42\u76f8\u540c\u8cc7\u6599\u6642\uff0c\u5c31\u53ef\u4ee5\u7701\u4e0b\u8a31\u591a\u6b65\u9a5f\uff0c\u76f4\u63a5\u5c07\u6253\u5305\u597d\u7684\u8cc7\u6599\u4e00\u6b21\u9001\u51fa\uff0c\u7bc0\u7701\u4e86\u5927\u5e45\u7684\u4f5c\u696d\u6642\u9593\uff0c\u76f8\u5c0d\u901f\u5ea6\u5c31\u5feb\uff0c\u53ef\u4ee5\u53c3\u8003\u4e4b\u524d\u7684\u6587\u7ae0<\/a>\u3002<\/p>\n

\u56db\u3001\u7d30\u90e8\u8abf\u6574\uff08\u4e5f\u53ef\u53c3\u8003\u4e0d\u540c\u7684\u901f\u5ea6\u6aa2\u6e2c\u7db2\u7ad9\uff09<\/strong><\/p>\n

\u5269\u4e0b\u9019\u500b\u90e8\u5206\u5176\u5be6\u624d\u662f\u6700\u96e3\u7684\uff01\u50cf\u662f\u4f7f\u7528\u5b98\u65b9\u5efa\u8b70\u7684\u914d\u7f6e\uff1aphp7\u3001MySQL5.6\u3001HTTPS\u3001mod_rewrite Apache module \uff0c\u591a\u9918\u7684 WordPress\u00a0 \u8a2d\u5b9a\u3001\u591a\u9918\u7684\u8cc7\u6599\u5eab\u6b04\u4f4d\u3001\u5957\u4ef6\u592a\u80a5\u5927\u3001\u5916\u90e8\u7684 script \u6a94\u6848\u5982css, font loaders \u7b49\u3002<\/p>\n

\u518d\u770b\u770b gemetrix \u9577\u9577\u4e00\u4e32\u7684\u9805\u76ee\u5c31\u77e5\u9053\u4e86\uff0c\u9019\u90e8\u4efd\u9084\u662f\u4ea4\u7d66\u5c08\u696d\u7db2\u9801\u8a2d\u8a08\/\u7a0b\u5f0f\u958b\u767c\u516c\u53f8\u4f86\u5427\uff01<\/p>\n

Serve scaled images
\nLeverage browser caching
\nSpecify a cache validator
\nAvoid CSS @import
\nMinify Javascript
\nDefer Parsing of Javascript
\nMinify CSS
\nSpecify image dimensions
\nMinimize request size
\nSpecify a character set early
\nMinimize request size
\nMinify HTML
\nRemove query strings from static resources
\nSpecify a Vary: Accept-Encoding header
\nAvoid bad requests
\nAvoid landing page redirects
\nEnable qzip compression
\nEnable Keep-Alive
\nInline small CSS
\nInline small Javascript
\nMinimize redirects
\nOptimize the order of styles and scripts
\nPut SCC in the document head
\nServe resources from a consistent URL
\nCombine images using CSS sprites
\nPrefer asynchronous resources
\nAvoid a character set in the meta tag[\/vc_column_text][vc_column_text css=”.vc_custom_1550913616320″]\u4ee5\u73fe\u968e\u6bb5\u4f86\u8aaa\uff0c\u5373\u4fbf\u662f B2B \u7db2\u7ad9\uff0c\u4e5f\u61c9\u8a72\u5efa\u7acb\u7db2\u7ad9\u4e4b\u5167\u5bb9\uff0c\u9054\u5230\u63d0\u6607 SEO \u7684\u6210\u6548\u3002\u4f46\u5728\u66f4\u65b0\u540c\u6642\uff0c\u82e5\u975e\u7db2\u9801\u8a2d\u8a08\u7a0b\u5f0f\u78bc\u5c08\u9577\u7684\u4eba\u54e1\uff0c\u591a\u591a\u5c11\u5c11\u6703\u5f71\u97ff\u5230\u7db2\u9801\u901f\u5ea6\u3002<\/p>\n

\u5c07\u7db2\u7ad9\u7dad\u8b77\u5de5\u4f5c\uff0c\u4ea4\u7531\u7db2\u9801\u8a2d\u8a08\u516c\u53f8\uff0c\u9664\u4e86\u7a69\u5b9a\u3001\u5b89\u5168\uff0c\u82e5\u662f\u958b\u767c\u7db2\u7ad9\u7684\u516c\u53f8\uff0c\u5c0d\u65bc Coding \u7684\u5beb\u6cd5\u3001\u908f\u8f2f\u4e5f\u90fd\u76f8\u7576\u719f\u6089\uff0c\u7dad\u8b77\u7684\u5b8c\u6210\u6027\u53ca\u6548\u7387\uff0c\u81ea\u7136\u53ef\u4ee5\u66f4\u597d\u3002\u7dad\u8b77\u7db2\u7ad9\uff0c\u66f4\u61c9\u5305\u542b\u7db2\u9801\u901f\u5ea6\u7684\u8abf\u6574\uff0c\u82e5\u60a8\u6709\u7db2\u7ad9\u7dad\u8b77\u7684\u9700\u6c42\uff0c\u76f4\u63a5\u806f\u7d61 CTK<\/a>\u00a0\u5427\uff01[\/vc_column_text][vc_empty_space height=”26px”][\/vc_column][\/vc_row][vc_row use_row_as_full_screen_section=”no” center_bck_image=”no” el_id=”blogWidget”][vc_column][vc_column_text]

\n\n
\n\n\t\n\t

\n\t\t\t\t\t\t\t\t\tpagespeed<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\tweb design<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\u7db2\u9801\u5065\u6aa2<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\u7db2\u9801\u8a2d\u8a08\u516c\u53f8<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\u7db2\u9801\u901f\u5ea6<\/span>\n\t\t\t\t\t\n\t<\/p>\n<\/div>\n<\/div><\/div>

\"\"<\/div>
aron<\/span><\/a><\/div>

\u6578\u4f4d\u884c\u92b7\u5de5\u5177\u61c9\u7528\u8005\u3002\u5f9e\u4f01\u5283\u3001\u7db2\u7ad9\u898f\u5283\u3001\u6587\u6848\u3001\u793e\u7fa4\u3001\u7db2\u8def\u884c\u92b7\u5de5\u5177\u7121\u6240\u4e0d\u5305\u3002 \u5927\u8166\u5982\u679c\u548c\u7db2\u8def\u8cc7\u6599\u5eab\u9023\u7d50\uff0c\u591a\u5c11\u53ef\u4ee5\u7de9\u89e3\u8cc7\u8a0a\u7126\u616e\u75c7\u72c0\u3002<\/p>\n<\/div><\/div>

<\/div><\/div><\/div><\/div>[\/vc_column_text][\/vc_column][\/vc_row][vc_row use_row_as_full_screen_section=”no” center_bck_image=”no”][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7db2\u7ad9\u901f\u5ea6\u7684\u91cd\u8981\u6027\uff0cCTK Pro \u5df2\u7d93\u63d0\u904e\u8a31\u591a\u6b21\u4e86\u3002\u5c0d\u4f7f\u7528\u8005\u4f86\u8aaa\uff0c\u5373\u4fbf\u6709\u518d\u597d\u7db2\u9801\u8a2d\u8a08\u3001 UX \u8a2d\u8a08\u3001\u6587\u6848\u7d20\u6750\uff0c\u7576\u7db2\u7ad9\u901f\u5ea6\u4eae\u8d77\u7d05\u71c8\u6642\uff0c\u4f7f\u7528\u8005\u6c7a\u5b9a\u8981\u96e2\u958b\u4f60\u7684\u7db2\u7ad9\uff0c\u90fd\u662f\u767d\u642d\u3002\u8981\u907f\u514d\u9019\u6a23\u7684\u6158\u6cc1\u767c\u751f\uff0c\u4e0d\u53ea\u5728\u7db2\u7ad9\u5efa\u7f6e\u4e4b\u521d\uff0c\u5f8c\u7e8c\u76e3\u63a7\u3001\u7dad\u8b77\u7db2\u7ad9\u901f\u5ea6\uff0c\u5176\u5be6\u662f\u4e0d\u53ef\u5c11\u7684\u5de5\u4f5c\u3002 […]<\/p>\n

Read More… from \u4ee5 gtmetrix \u70ba\u4f8b\uff0c\u8abf\u6574\u7db2\u7ad9\u901f\u5ea6<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1655,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[29,119],"tags":[123,46,120,90,111],"acf":[],"_links":{"self":[{"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/posts\/893"}],"collection":[{"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/comments?post=893"}],"version-history":[{"count":3,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/posts\/893\/revisions"}],"predecessor-version":[{"id":1949,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/posts\/893\/revisions\/1949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/media\/1655"}],"wp:attachment":[{"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/media?parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/categories?post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ctkpro.com\/wp-json\/wp\/v2\/tags?post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}