<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>軟體開發 Archives - 成長駭客交流第一站 - HyperGrowths™</title>
	<atom:link href="https://hypergrowths.com/category/software-engineering/feed/" rel="self" type="application/rss+xml" />
	<link>https://hypergrowths.com/category/software-engineering/</link>
	<description>用SEO內容行銷加速增長? 企業發展遇到增長瓶頸？加入 HyperGrowths，學習突破性增長策略，優化行銷方案，助力企業飛躍式發展</description>
	<lastBuildDate>Fri, 08 Sep 2023 09:30:30 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.5</generator>

<image>
	<url>https://hypergrowths.com/wp-content/uploads/2020/11/cropped-?.png</url>
	<title>軟體開發 Archives - 成長駭客交流第一站 - HyperGrowths™</title>
	<link>https://hypergrowths.com/category/software-engineering/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MonsterInsights 評論：它是最好的 WordPress Google Analytics 插件嗎？</title>
		<link>https://hypergrowths.com/digital-marketing/seo/38295/monsterinsights-wordpress-review/</link>
		
		<dc:creator><![CDATA[Hyper Growth]]></dc:creator>
		<pubDate>Fri, 08 Sep 2023 09:22:26 +0000</pubDate>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[數位行銷]]></category>
		<category><![CDATA[軟體開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/?p=38295</guid>

					<description><![CDATA[<p>您可能聽說過MonsterInsights是用於WordPress的最佳Google Analytics后，您 [&#8230;]</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/digital-marketing/seo/38295/monsterinsights-wordpress-review/" data-wpel-link="internal">MonsterInsights 評論：它是最好的 WordPress Google Analytics 插件嗎？</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>您可能聽說過MonsterInsights是用於WordPress的最佳Google Analytics后，您需要購買MonsterInsights Pro才能解鎖其所有高級功能，例如電子商務報表、轉化跟蹤等。</p>
<p>所以您可能想知道：**MonsterInsights Pro提供的真正好處，以便您可以自己做出決定。讓我們直接開始吧……</p>
<p><strong>目錄</strong> 隱藏<br />
MonsterInsights與Google Analytics（分析）的區別是什麼？<br />
在您的網站上使用MonsterInsights的好處 1.簡單的Google Analytics（分析）設置<br />
2.通過高級跟蹤了解您的受眾<br />
3.節省查找和查看報告的時間<br />
4.幫助您的網站增加流量<br />
5.幫助您學習如何增加電子信箱列表<br />
6.向您展示如何提高銷售轉化率<br />
使用MonsterInsights報告做出明智的決策 概述報告<br />
發布者報告<br />
Search Console報表<br />
表格報告<br />
電子商務報告<br />
維度報告<br />
即時報告<br />
MonsterInsights與其他WordPress Analytics外掛 1.更多追蹤選項<br />
2.易於使用且輕巧的外掛<br />
3.幫助您做出決定<br />
4.符合GDPR<br />
最後的總結：MonsterInsights值得嗎？</p>
<h3><a id="monsterinsights%E8%88%87google-analytics%EF%BC%88%E5%88%86%E6%9E%90%EF%BC%89%E7%9A%84%E5%8D%80%E5%88%A5%E6%98%AF%E4%BB%80%E9%BA%BC%EF%BC%9F" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>MonsterInsights與Google Analytics（分析）的區別是什麼？</h3>
<p>您可能想知道，為什麼自己可以複製並粘貼Google Analytics（分析）跟蹤程式碼的事，為什麼要花錢在MonsterInsights上？</p>
<p>這是人們對MonsterInsights的最大誤解。它提供的不僅僅是默認的Google Analytics跟蹤程式碼。</p>
<p>您是否知道默認情況下，Google Analytics（分析）不會跟蹤：</p>
<ul>
<li>WordPress分類、標籤或作者</li>
<li>為您帶來最多流量的關鍵詞</li>
<li>每個聯盟連結獲得多少點擊</li>
<li>您的電子商務轉化率</li>
<li>人們正在從您的網站下載哪些文件</li>
<li>更多…</li>
</ul>
<p>要跟蹤這些跟蹤程式碼，您需要修改跟蹤程式碼並在Google Analytics（分析）帳戶中分別配置每個跟蹤程式碼。這是有很多工作量，特別是如果您有多個 網站的時候。更不用說在程式碼中犯錯誤可能會使您的分析混亂，甚至使您的整個網站癱瘓。</p>
<p>除此之外，如果您自己添加Google Analytics（分析）跟蹤程式碼，則需要知道如何在Google Analytics（分析）中運行報告以獲取所需的所有數據。如果您不是分析專家，這可能會非常耗時且通常難以解決。</p>
<p>因此，如果您想專注於發展業務而不是學習程式碼和高級分析，MonsterInsights是一個很好的解決方案。</p>
<p>只需單擊幾下，它就可以設置您需要的所有高級跟蹤，並在WordPress儀錶板中為您提供易於理解的報告。</p>
<p>讓我們仔細看看MonsterInsights提供的一些好處…</p>
<h3><a id="%E5%9C%A8%E6%82%A8%E7%9A%84%E7%B6%B2%E7%AB%99%E4%B8%8A%E4%BD%BF%E7%94%A8monsterinsights%E7%9A%84%E5%A5%BD%E8%99%95" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>在您的網站上使用MonsterInsights的好處</h3>
<p>MonsterInsights到底完成了什麼您自己無法完成的工作？在完成對MonsterInsigths的詳細評測之後，讓我們看一下其中的一些主要好處。</p>
<h3><a id="1%E7%B0%A1%E5%96%AE%E7%9A%84-google-analytics%EF%BC%88%E5%88%86%E6%9E%90%EF%BC%89%E8%A8%AD%E7%BD%AE" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.簡單的Google Analytics（分析）設置</h3>
<p>如果您經營一個網站（無論是部落格、電子商務商店還是小型企業網站），那麼您都會知道數據在制定決策時的重要性。</p>
<p>MonsterInsights使事情變得簡單。只需單擊幾下，您就可以在WordPress網站上正確設置Google Analytics（分析），而無需編寫任何程式碼。</p>
<p><img decoding="async" src="https://i.imgur.com/tALzjfj.jpg" alt="" /></p>
<p>它的設置嚮導將指導您完成所有步驟，因此您不必擔心在設置Analytics（分析）時會犯任何錯誤，也不必擔心數據報告中的不準確性。</p>
<h3><a id="2%E9%80%9A%E9%81%8E%E9%AB%98%E7%B4%9A%E8%B7%9F%E8%B9%A4%E4%BA%86%E8%A7%A3%E6%82%A8%E7%9A%84%E5%8F%97%E7%9C%BE" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>2.通過高級跟蹤了解您的受眾</h3>
<p>MonsterInsights不僅僅是將Google Analytics（分析）與您的網站整合的外掛。它可以讓您了解您的網站訪問者，並了解他們喜歡的內容，他們使用的設備，如何找到您的網站等等。</p>
<p>以下是使用MonsterInsights可以跟蹤的內容的詳細資訊：</p>
<ul>
<li><strong>廣告跟蹤</strong> – 跟蹤您的Google AdSense標語，查看誰在點擊它們，然後對其進行優化以增加收入</li>
<li><strong>Google AMP跟蹤</strong> – 只需單擊一個按鈕，即可啟用AMP（加速的移動頁面）跟蹤並獲取有關移動訪問者的準確數據</li>
<li><strong>自定義維度 –</strong> 創建自定義維度以跟蹤作者，類別，標籤，搜尋關鍵字，登錄用戶等的表現</li>
<li><strong>電子商務跟蹤</strong> – 了解您的在線商店的表現如何，哪些是您的頂級產品以及其他更多資訊</li>
<li><strong>Facebook即時文章</strong> – 只需單擊即可輕鬆跟蹤Google Analytics（分析）中的Facebook即時文章</li>
<li><strong>表單跟蹤</strong> – 找出哪些表單可以在您的網站上帶來最佳效果</li>
<li><strong>Google Optimize –</strong> 使用Google Optimize進行實驗和A/B測試</li>
<li><strong>歐盟合規性</strong> – 通過自動匿名用戶的個人數據，使您的網站符合CCPA和GDPR</li>
<li><strong>跟蹤文件下載</strong> – 跟蹤您網站上的下載，而無需做任何其他設置</li>
<li>跨域跟蹤 – 通過Google Analytics（分析）中的跨域跟蹤了解跨多個網站的用戶行為</li>
</ul>
<h3><a id="3%E7%AF%80%E7%9C%81%E6%9F%A5%E6%89%BE%E5%92%8C%E6%9F%A5%E7%9C%8B%E5%A0%B1%E5%91%8A%E7%9A%84%E6%99%82%E9%96%93" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>3.節省查找和查看報告的時間</h3>
<p>許多用戶在使用Google Analytics（分析）時面臨的問題之一是其複雜性和高學習曲線。那使您質疑Google Analytics（分析）是否值得？您必須是專家才能在Google Analytics（分析）中導航，找到正確的報告，然後使用對您的業務至關重要的統計資訊。</p>
<p>但是，借助MonsterInsights，您可以在WordPress儀錶板內部查看報告。您可以一目瞭然地查看您的網站的運行情況，而不必離開儀錶板。</p>
<p><img decoding="async" src="https://i.imgur.com/Y5xJbaq.jpg" alt="" /></p>
<p>您會獲得對您的業務發展很重要的報告。它使任何人都能輕鬆地找到有價值的數據並獲得洞察力，以提高網站的效果。</p>
<h3><a id="4%E5%B9%AB%E5%8A%A9%E6%82%A8%E7%9A%84%E7%B6%B2%E7%AB%99%E5%A2%9E%E5%8A%A0%E6%B5%81%E9%87%8F" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>4.幫助您的網站增加流量</h3>
<p>使用MonsterInsights報表了解訪問者如何使用您的網站后，您就可以使用這些數據來增加您的網站訪問量。</p>
<p>例如，您可以找到最佳頁面，然後覆蓋觀眾喜歡的類似主題以吸引更多訪問者。或者，您可以查看在Google上排名最高的關鍵字，從而帶來更多的自然流量。</p>
<p><img decoding="async" src="https://i.imgur.com/4W19dv4.jpg" alt="" /></p>
<h3><a id="5%E5%B9%AB%E5%8A%A9%E6%82%A8%E5%AD%B8%E7%BF%92%E5%A6%82%E4%BD%95%E5%A2%9E%E5%8A%A0%E9%9B%BB%E5%AD%90%E4%BF%A1%E7%AE%B1%E5%88%97%E8%A1%A8" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>5.幫助您學習如何增加電子信箱列表</h3>
<p>隨著您開始吸引更多訪問者，您可以增加電子信箱列表並捕獲潛在客戶。MonsterInsights報告可以幫助您優化網站以吸引更多訂戶。</p>
<p>您可以先查看退出次數最多的頁面，然後放置退出意圖彈出窗口來收集電子信箱。</p>
<p><img decoding="async" src="https://i.imgur.com/0LmqxeY.jpg" alt="" /></p>
<p>MonsterInsights可以幫助的另一種方法是突出顯示跳出率很高的頁面。要降低跳出率，您可以提供內容升級或交易以增加電子信箱註冊。</p>
<h3><a id="6%E5%90%91%E6%82%A8%E5%B1%95%E7%A4%BA%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E9%8A%B7%E5%94%AE%E8%BD%89%E5%8C%96%E7%8E%87" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>6.向您展示如何提高銷售轉化率</h3>
<p>除了收集電子信箱，您甚至可以提高銷售轉化率。</p>
<p>例如，MonsterInsights可讓您查看網站的平均滾動深度。您可以使用此資訊將號召性用語（CTA）放在正確的位置，並提高轉化率。</p>
<p><img decoding="async" src="https://i.imgur.com/SKbZIZ6.jpg" alt="" /></p>
<p>而且，如果您擁有電子商務商店，那麼該外掛可以提供出色的見解，例如將行銷工作集中在轉化率最高的來源上或推廣轉化效果最好的產品。</p>
<p>這樣，讓我們​​詳細查看每個MonsterInsights報告。</p>
<h3><a id="%E4%BD%BF%E7%94%A8monsterinsights%E5%A0%B1%E5%91%8A%E5%81%9A%E5%87%BA%E6%98%8E%E6%99%BA%E7%9A%84%E6%B1%BA%E7%AD%96" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>使用MonsterInsights報告做出明智的決策</h3>
<p>MonsterInsights提供了多個非常易於理解的報告，併為您提供了發展網站的見解。這些報告可幫助您跟上最新的跟蹤標準。我們將從其概述報告開始。</p>
<h3><a id="%E6%A6%82%E8%BF%B0%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>概述報告</h3>
<p>在安裝WordPress Google Analytics（分析）外掛時，您將看到的第一個報告是「<strong>概述」報告</strong>。您可以通過登錄到管理區域並從儀錶板中單擊「<strong>見解」 »「報告」<strong>來訪問它</strong>。</strong></p>
<p>在概述報告中，您可以查看檢查網站效果所需的所有重要指標。您可以查看所選日期範圍內的會話次數、網頁瀏覽量、平均會話持續時間和網站跳出率。</p>
<p><img decoding="async" src="https://i.imgur.com/lxQTo2Z.jpg" alt="" /></p>
<p>如果向下滾動，您會發現更多統計資訊，例如新訪客與回訪者、設備、前10個國家/地區、前10個推薦來源以及熱門帖子/頁面。</p>
<p><img decoding="async" src="https://i.imgur.com/UVbCMiP.jpg" alt="" /></p>
<h3><a id="%E7%99%BC%E5%B8%83%E8%80%85%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>發布者報告</h3>
<p>您將看到的下一個報告是「發布者」報告，供擁有 MonsterInsights Pro 計劃的用戶使用。該報告可讓您深入了解訪問者如何使用您的網站。</p>
<p>例如，您可以查看您的熱門著陸頁及其產生的流量，平均持續時間和跳出率是多少。該報告提供了您的受眾喜歡的內容主題的見解。</p>
<p><img decoding="async" src="https://i.imgur.com/6DNLIIJ.jpg" alt="" /></p>
<p>再往下看，您會看到更重要的報告，例如最多退出頁面、最多出站連結和最多聯盟連結。</p>
<p>使用這些報告中的資訊，您可以建立合作夥伴關係，找到獲得反向連結的機會，並通過提升最佳聯盟企業來增加收入。</p>
<p><img decoding="async" src="https://i.imgur.com/HAJzlVN.jpg" alt="" /></p>
<p>而且，如果您在網站上提供可下載的內容，則MonsterInsights會自動跟蹤其效果，默認情況下，這在Google Analytics（分析）中是不可能的。</p>
<p>它提供了一個報告，其中顯示了您的熱門下載連結。使用這些數據，您可以了解下載量最多的內容類型，以便將來創建類似的內容。</p>
<p><img decoding="async" src="https://i.imgur.com/kWCDGN0.jpg" alt="" /></p>
<p>如果向下滾動，則會在「發布者」報告中找到更多資訊。您可以查看受眾群體的人口統計資訊，例如年齡和性別。您還可以查看他們的首要興趣和您網站的平均滾動深度。</p>
<h3><a id="search-console%E5%A0%B1%E8%A1%A8" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>Search Console報表</h3>
<p>您是否想知道人們如何在搜索引擎上找到您的網站？通過MonsterInsights，您可以在WordPress儀錶板中查看Google Search Console報告。</p>
<p>該報告顯示您的網站排名前50名的Google搜索字詞。對於每個關鍵字，您可以查看點擊次數、展示次數、點擊率和平均排名。</p>
<p><img decoding="async" src="https://i.imgur.com/ZGmMHrg.jpg" alt="" /></p>
<p>該報告中的數據非常有價值，因為它可以幫助您定位產生自然流量的搜索字詞。它還可以讓您縮小內容創意的範圍，因此您可以創建涵蓋相似關鍵字的帖子。</p>
<h3><a id="%E8%A1%A8%E6%A0%BC%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>表格報告</h3>
<p>MonsterInsights提供的另一個功能是，它使您可以在Google Analytics（分析）中的WordPress網站上跟蹤各種形式。</p>
<p>使用其Forms Addon，您可以跟蹤表單的查看、提交和轉化。最好的是，它支持其他表單外掛，例如WPForms、Gravity Forms、Formidable Forms等。</p>
<p><img decoding="async" src="https://i.imgur.com/dlFI26L.jpg" alt="" /></p>
<h3><a id="%E9%9B%BB%E5%AD%90%E5%95%86%E5%8B%99%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>電子商務報告</h3>
<p>如果您擁有在線商店，那麼MonsterInsights可以幫助您跟蹤其效果，而無需進行任何其他設置。</p>
<p>通過MonsterInsights電子商務外掛，您可以將Google Analytics（分析）電子商務跟蹤添加到WooCommerce、LifterLMS、MemberPress和Easy Digital Downloads商店。</p>
<p>該報告提供有關您網站的轉化率、交易、收入和平均訂單價值的見解。不僅如此，您還可以找到效果最好的產品，它們的總訂單、銷售百分比和總收入。</p>
<p><img decoding="async" src="https://i.imgur.com/LQiv8pS.jpg" alt="" /></p>
<p>您甚至可以查看最主要的轉化來源，併為來自這些網站的訪問者優化行銷活動。這樣，您可以最大限度地提高收入。</p>
<p>報表為您跟蹤的其他指標是添加到購物車的總數、從購物車中刪除的總數、購買時間和購買會話。</p>
<h3><a id="%E7%B6%AD%E5%BA%A6%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>維度報告</h3>
<p>通過MonsterInsights Dimensions外掛，您可以設置高級WordPress訪問者跟蹤。該外掛可讓您設置自定義維度，而Google Analytics（分析）不會自動對其進行跟蹤。</p>
<p>您可以查看與業務相關的事物的效果，例如跟蹤您網站上作者的績效，找到最受歡迎的帖子類型、類別、標籤、最佳發布時間和最受歡迎的關注關鍵字。</p>
<p><img decoding="async" src="https://i.imgur.com/CzvHiEa.jpg" alt="" /></p>
<h3><a id="%E5%8D%B3%E6%99%82%E5%A0%B1%E5%91%8A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>即時報告</h3>
<p>通過即時報告，MonsterInsights可以顯示給定時刻您網站上的活躍用戶數。</p>
<p>如果您正在進行一個廣告系列，並且想查看由於該廣告系列吸引了多少人訪問您的網站，則該報告非常有用。</p>
<p><img decoding="async" src="https://i.imgur.com/AOKAxiu.jpg" alt="" /></p>
<h3><a id="monsterinsights%E8%88%87%E5%85%B6%E4%BB%96wordpress-analytics%E5%A4%96%E6%8E%9B" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>MonsterInsights與其他WordPress Analytics外掛</h3>
<p>到現在為止，我們希望您知道MonsterInsights對您的網站有多麼有用。它的報告多麼詳盡和簡單，可以為您的業務尋找見解。</p>
<p>但是，與其他Google Analytics（分析）WordPress外掛相比，它又如何呢？以下是MonsterInsights擅長的其他一些功能：</p>
<h3><a id="1%E6%9B%B4%E5%A4%9A%E8%BF%BD%E8%B9%A4%E9%81%B8%E9%A0%85" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.更多追蹤選項</h3>
<p>關於跟蹤數據，MonsterInsights提供了更多功能，並允許您設置高級跟蹤。</p>
<p>例如，如果您將MonsterInsights和Google Analyticator進行比較，就會發現，使用MonsterInsights，您可以跟蹤您的電子商務商店、表單、配置自定義維度等。</p>
<h3><a id="2%E6%98%93%E6%96%BC%E4%BD%BF%E7%94%A8%E4%B8%94%E8%BC%95%E5%B7%A7%E7%9A%84%E5%A4%96%E6%8E%9B" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>2.易於使用且輕巧的外掛</h3>
<p>而且，如果您正在尋找易於使用且輕巧的外掛，那麼MonsterInsights的性能將遠勝於其他外掛。</p>
<p>以Jetpack和MonsterInsights為例。Jetpack很臃腫，需要其他步驟來設置Google Analytics（分析），並且不像MonsterInsights那樣提供其他跟蹤選項。</p>
<h3><a id="3%E5%B9%AB%E5%8A%A9%E6%82%A8%E5%81%9A%E5%87%BA%E6%B1%BA%E5%AE%9A" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>3.幫助您做出決定</h3>
<p>在對MonsterInsights進行了廣泛的評測之後，另一個突出的方面是其報告功能。如前所述，該外掛提供對您的業務最重要的數據。</p>
<p>大多數外掛提供的基本報告所提供的資訊不足以做出決定。例如，如果將MonsterInsights與Google Site Kit（Google自己的WordPress外掛）進行比較，您會發現報告存在很多差異。</p>
<p>Google Site Kit提供了一些報告，可以快速匯總您的網站。但是您不能使用任何數據來發展您的網站。</p>
<h3><a id="4%E7%AC%A6%E5%90%88-gdpr" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>4.符合GDPR</h3>
<p>自歐盟發布GDPR（通用數據保護法規）以來，您需要用戶的同意才能跟蹤和使用他們的資訊。由於GDPR的原因，許多外掛在具有嚴格數據保護法律的地區無法使用。</p>
<p>但是，MonsterInsights在世界各地都可以使用。不僅如此，它還是最好的WordPress GDPR外掛，並提供了EU Compliance外掛，通過它可以使您的網站符合GDPR要求。</p>
<h3><a id="%E6%9C%80%E5%BE%8C%E7%9A%84%E7%B8%BD%E7%B5%90%EF%BC%9Amonsterinsights%E5%80%BC%E5%BE%97%E5%97%8E%EF%BC%9F" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>最後的總結：MonsterInsights值得嗎？</h3>
<p>MonsterInsights是目前最好的Google Analytics（分析）WordPress外掛。與其他任何WordPress Analytics外掛相比，您可以獲得更多的功能，跟蹤選項和用戶友好的體驗。這讓MonsterInsights完全值得。</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/digital-marketing/seo/38295/monsterinsights-wordpress-review/" data-wpel-link="internal">MonsterInsights 評論：它是最好的 WordPress Google Analytics 插件嗎？</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ERP部署的類型</title>
		<link>https://hypergrowths.com/software-engineering/38282/erp-type/</link>
		
		<dc:creator><![CDATA[Hyper Growth]]></dc:creator>
		<pubDate>Sun, 03 Sep 2023 04:18:19 +0000</pubDate>
				<category><![CDATA[軟體開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/?p=38282</guid>

					<description><![CDATA[<p>如何部署ERP 系統的主要優勢，旨在幫助你選擇最合適的 ERP 部署選項。 企業還可以根據自身業務需求，結合開 [&#8230;]</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/38282/erp-type/" data-wpel-link="internal">ERP部署的類型</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>如何部署ERP 系統的主要優勢，旨在幫助你選擇最合適的 ERP 部署選項。</p>
<p>企業還可以根據自身業務需求，結合開放原始碼智造Odoo權威專家的諮詢建議，按需定製Odoo免費開放原始碼ERP系統核心功能或建構應用擴展，並將與標準Odoo ERP功能無縫整合，來滿足自身業務場景特定的需求。</p>
<p><strong>ERP雲</strong></p>
<p>在 ERP雲部署方式中，軟體托管在雲端，以服務的形式通過互聯網交付，支持用戶訂閱。軟體提供商通常負責執行定期維護、更新和安全相關工作。如今，ERP 雲是最受歡迎的部署方法，因為前期成本更低、可擴展性和靈活性更高、整合更簡單等。</p>
<p><strong>本地ERP</strong><br />
在這種傳統的軟體部署模式下，一切均由企業自己管理。ERP 軟體通常安裝在企業選定的數據中心內。軟硬體的安裝和維護都需要由企業安排人員執行。</p>
<p>許多企業都在革新其本地 ERP 系統，升級為雲部署模式。這需要企業認真做好 ERP升級規劃，並全方位評估 ERP軟體及其部署選項。</p>
<p><strong>混合型ERP</strong><br />
如果企業需要同時使用ERP雲和本地ERP來滿足業務需求，可以選擇混合 ERP雲模式。在這種模式下，一部分ERP應用和數據將部署在雲端，一部分則部署在本地。這種架構有時也稱為雙層ERP。</p>
<h2><a id="erp%E6%95%B4%E5%90%88" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>ERP整合</h2>
<p>如今的ERP系統能夠提供廣泛的業務功能，但仍需要與其他應用和數據源連接和同步，例如CRM和HCM（了解什麼是HCM）軟體、電子商務平台、行業特定解決方案甚至其他ERP系統。通過ERP整合，企業可以整合不同系統的資訊，獲得統一的資訊視圖，提高業務流程效率，改善客戶體驗，並促進團隊和業務合作夥伴之間的協作。</p>
<p>開放原始碼智造·Odoo免費開放原始碼ERP系統開放且靈活，可以通過連接器或定製適配器（如應用編程介面）與各種軟體產品輕鬆整合。除此之外，還有很多其他ERP整合方法，比如 ESB（企業服務匯流排）和 iPaaS（整合平台即服務）。iPaaS是一種開放原始碼智造自研的多數據源整合同步的方法，備受各種類型企業歡迎。iPaaS平台可以快速同步本地 ERP 或 ERP雲與來自同一供應商或第三方的 SaaS 應用。通過iPaaS方法實現ERP整合，無需企業耗費太多專業技術人員思考ERP系統如何操作才能實現整合作業且降低操作成本，因為iPaaS平台通常幾乎無需編碼，十分靈活且完全免費開放原始碼，同時還具備許多其他功能，例如自動生成API、整合機器學習數據、整合物聯網網路、提供預建構的內容等。</p>
<h2><a id="erp%E7%9A%84%E7%B8%BD%E6%88%90%E6%9C%AC" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>ERP的總成本</h2>
<p>如何選擇 ERP 系統？企業通常會考慮到成本問題。通常情況下，ERP 的成本取決於軟體供應商、企業選擇的模塊和部署方法。一般而言，Odoo免費開放原始碼ERP的私有雲端部署成本遠低於傳統ERP產品，因為Odoo私有雲部署無需採購硬體，也無需高薪聘請內部 IT 專家。維護工作將由Odoo亞太金牌服務機構·開放原始碼智造負責，客戶通常只需根據實際業務需求通過開放原始碼智造Odoo權威專家諮詢和建議給出解決方案，支付實施服務費用即可，產品則完全免費開放原始碼。</p>
<p>計算新 ERP 實施項目的投資回報和總體擁有成本時，企業必須考慮初始勞動力成本和持續勞動力成本，這兩個因素與軟體選擇和部署成本一樣重要。對於雲部署和混合部署選項，企業必須評估新的因素，例如軟體維護、設施、電腦容量、停機時間、恢復能力、安全性、隱私和 IT 員工成本等，這些都是重要的考慮因素。如之前提到的，雲部署選項可以顯著降低資本和營運成本，從而提高投資報酬率，減少總體擁有成本。</p>
<h2><a id="erp%E7%9A%84%E9%A3%9B%E9%80%9F%E7%99%BC%E5%B1%95%E6%AD%B7%E7%A8%8B" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>ERP的飛速發展歷程</h2>
<p>電腦化業務應用誕生於使用大型機的 1960 年代，面向的是會計和財務領域。這類開創性的應用比手動流程更快、更準確，但成本高昂、功能有限且運行緩慢。之後，這些應用很快催生出了專用的獨立解決方案，例如銷售訂單處理和製造需求計劃 (MRP)。</p>
<p>20 世紀 80 年代中期，製造業的競爭顯著加劇，整個行業亟需新工具的出現。新的 MRP II 軟體整合了會計和財務、銷售、採購、庫存以及製造計劃和調度功能，為製造商提供了整合式系統。</p>
<p>20 世紀 90 年代末，ERP 問世。ERP 革新了科技行業，其服務的行業更加廣泛，並且整合了 MRP II、人力資源、項目會計和最終用戶報告等功能。</p>
<p>進入 21 世紀后，互聯網發展速度加快，互聯網大廠對開放原始碼軟體技術引入和普及，新的開發工具不斷湧現，引發了 ERP 套件的再次革新。基於瀏覽器的軟體的興起為雲端部署的免費開放原始碼ERP軟體的誕生鋪平了道路，Odoo免費開放原始碼ERP是ERP領域的一項突破性創新，進一步擴展了 ERP 解決方案的產品功能和服務創新與生態快速成長。</p>
<p>如今，數位轉型風潮正盛，開放原始碼智造所主導的Odoo免費開放原始碼ERP系統正越來越多地利用人工智慧(了解什麼是人工智慧)、機器學習、機器人流程自動化 (RPA)、物聯網、自然語言處理 (NLP) 和記憶體資料庫中獲取的最新洞察，在前所未有的變革時期保持競爭力。</p>
<h2><a id="erp%E7%9A%84%E6%9C%AA%E4%BE%86%E8%B6%A8%E5%8B%A2" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>ERP的未來趨勢</h2>
<p>數位轉型趨勢在不斷加快，而ERP系統是實現數位轉型的核心。當企業全面採用數字技術后，他們將能徹底變革自身的營運方式。</p>
<p>根據開放原始碼智造·Odoo研究院的研究，加快核心業務 數位化的一種有效方式是「消除障礙」，也就是說，消除阻礙業務發展的任何不利因素，包括過時的流程和系統。因此，毋庸置疑，企業需要更強大的ERP系統。</p>
<p>以下是基於當前發展勢頭的三大趨勢：</p>
<p>**雲端部署的優勢，比如，隨時隨地訪問、降低硬體和技術支持成本、安全性更高、輕鬆整合其他系統等，ERP 私有雲端部署將越來越受企業青睞。Panorama Research 發布的 2022 ERP Report（2022 年 ERP 報告）顯示，「半數以上的企業選擇了私有雲端部署 (70%)，只有 30% 的企業選擇本地部署。」隨著業務速度不斷加快，雲技術變得越來越重要。</p>
<p>**垂直整合：**單項優勢解決方案與整合式ERP之間的拉鋸戰正式落下帷幕。未來，企業將需要綜合這兩種解決方案的優勢，即需要一款支持垂直擴展的完全整合式ERP系統。這樣一來，企業既可以獲得所需的特定功能，還可以避免資訊孤島和整合問題。此外，由於 ERP 系統中的業務流程是根據各個企業的需求量身定製，因此靈活性更高。</p>
<p>**自主可控：**員工、客戶和供應商都希望企業能夠根據他們的特定需求或興趣，為其提供適當的內容和功能，幫助他們提高工作效率。隨著勞動力結構的變化，尤其是製造行業，ERP源程式碼開放與低程式碼實施平台開始受到越來越多的關注。這類平台能夠支持用戶打造自身所需的體驗，並且實現用戶的自主可控，不再需要讓企業自身去適應軟體。用戶還可以獲得支持各種設備的定製儀錶盤、AI 驅動的搜索、個性化的聊天工具和工作流。</p>
<h2><a id="erp%E7%B3%BB%E7%B5%B1%E7%9A%8410%E5%80%8B%E5%9F%BA%E6%9C%AC%E7%89%B9%E6%80%A7" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>ERP系統的10個基本特性</h2>
<p>ERP 管理系統有哪些基本特性？任何現代 ERP 系統都擁有許多功能，只不過這些功能依據其服務的行業和提供的模塊有所不同。但是，所有企業資源管理系統都應具備以下 10 個基本特性：</p>
<ol>
<li>**通用資料庫：**集中存儲資訊，打造統一的真實數據源，提供一致、共享的數據和跨職能部門的企業視圖。</li>
<li>**嵌入式分析：**提供內置分析功能、自助式商業智能、報告功能和合規管理工具，為所有業務領域提供智能洞察。</li>
<li>**數據視覺化：**通過儀錶盤、KPI 和點擊式分析功能，直觀地呈現關鍵資訊，幫助企業快速制定明智的決策。</li>
<li>**自動化：**實現重複任務自動化，並提供由人工智慧和機器學習驅動的高級機器人流程自動化 (RPA)。</li>
<li>**一致的使用者介面/用戶體驗：**確保所有模塊具備相同的外觀和使用體驗，併為所有流程、用戶（包括客戶和供應商）、業務部門、地點和產品線等提供易於使用的配置和個性化工具。</li>
<li>**整合：**支持無縫整合業務流程和工作流，並輕鬆整合其他軟體解決方案和數據源，包括來自第三方的解決方案和數據源。</li>
<li>**新技術：**支持人工智慧和機器學習、數字助理、物聯網、RPA、安全和隱私保護以及移動化等技術。</li>
<li>**技術平台：**為 ERP 這項長期投資提供快速、穩定且久經驗證的技術堆棧，包括ERP系統源程式碼免費開放原始碼、低程式碼實施平台、iPaaS、數據管理等。</li>
<li>**跨國支持：**支持多種語言、貨幣以及本地業務實踐和法規，同時為雲服務、培訓、服務台和實施提供技術支持。</li>
<li>**部署選項：**支持雲部署、本地部署或混合部署。</li>
</ol>
<h2><a id="%E5%93%AA%E7%A8%AEerp%E7%B3%BB%E7%B5%B1%E6%9C%80%E9%81%A9%E5%90%88%E6%88%91%EF%BC%9F" class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>哪種ERP系統最適合我？</h2>
<p>ERP並非只適用於跨國企業。開放原始碼智造·Odoo為所有規模的企業（包括小型、中型和大型企業）設計了相應的ERP解決方案。我們還提供了行業特定和企業特定的功能，滿足你獨特的業務需求。但是，不論業務部門和企業規模如何，你都需要遵循卓越實踐，審慎規劃 ERP實施項目。</p>
<p><strong>面向小型企業的ERP系統</strong></p>
<p>面向小型企業的ERP軟體能夠幫助成長型企業擺脫電子錶格的束縛，高效管理企業的方方面面，包括從銷售、客戶關係到財務和營運的各個業務領域。面向小型企業的ERP工具通常部署在私有雲端，可以快速安裝，並能隨企業發展而擴展。</p>
<p><strong>面向中型企業的ERP系統</strong></p>
<p>如今，面向中型企業及其子公司的ERP軟體內置商業分析功能，支持快速部署，並提供針對數十個不同業務流程的卓越實踐，覆蓋財務、HR 和供應鏈管理等領域。借助面向中型企業的ERP工具，成長型企業即使資源有限，也能有效擴展業務和開展競爭。另外，對於流程複雜或計劃實現快速增長的中型企業而言，模塊化的Odoo免費開放原始碼ERP成為了熱門選擇。</p>
<p><strong>面向大型企業的ERP系統</strong></p>
<p>大型企業業務遍布全球，或者旗下擁有多家子公司，他們需要採用強大、先進的ERP系統，來革新業務模式和流程。這些ERP系統包含嵌入式人工智慧、機器學習和商業分析工具以及智能自動化功能。開放原始碼智造·Odoo系統支持企業根據業務需要，靈活選擇本地部署、雲部署或混合部署模式。而且，這些ERP系統可以與現有資料庫整合，甚至還能基於強大的新型記憶體資料庫運行。</p>
<p>許多企業都在革新其本地ERP系統，升級為私有雲部署模式。這需要企業認真做好ERP升級規劃，並全方位評估ERP軟體及其部署選項。</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/38282/erp-type/" data-wpel-link="internal">ERP部署的類型</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ERPNext 如何優於 Odoo &#8211; 一個資深Odoo服務商轉ERPNext后的感悟</title>
		<link>https://hypergrowths.com/software-engineering/38280/erpnext-compare-odoo/</link>
		
		<dc:creator><![CDATA[Hyper Growth]]></dc:creator>
		<pubDate>Sun, 03 Sep 2023 04:13:19 +0000</pubDate>
				<category><![CDATA[軟體開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/?p=38280</guid>

					<description><![CDATA[<p>從官方推特上找到的這篇部落格文章，跟我們自己總結的似乎異曲同工。 部落格原文 https://ecosoft- [&#8230;]</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/38280/erpnext-compare-odoo/" data-wpel-link="internal">ERPNext 如何優於 Odoo &#8211; 一個資深Odoo服務商轉ERPNext后的感悟</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>從官方推特上找到的這篇部落格文章，跟我們自己總結的似乎異曲同工。</p>
<p>部落格原文 <a href="https://link.zhihu.com/?target=https%3A//ecosoft-odoo.blogspot.com/2023/05/how-erpnext-superior-than-odoo-odooer.html" data-wpel-link="external" rel="nofollow external noopener noreferrer">https://ecosoft-odoo.blogspot.com/2023/05/how-erpnext-superior-than-odoo-odooer.html</a></p>
<p>以下Google翻譯</p>
<p><strong>ERPNext 如何優於 Odoo - Odoo 顧問的觀點</strong></p>
<p>在默默關注 ERPNext 多年之後，我終於有機會為我們在 2015 年實施 Odoo 的一位現有客戶實施它，並希望改進他們的系統。 這一次，我認為切換到 ERPNext 會更好，因為有些事情 Odoo 沒有答案，即，</p>
<ul>
<li>免費升級</li>
<li>低成本雲服務</li>
<li>能夠由自己的員工維護</li>
</ul>
<p>所以，在實施之後，我想分享一下我對這個產品的印象。 我將在主題中將 ERPNext 與 Odoo 進行比較，我認為 ERPNext 是明顯的贏家。</p>
<p>你準備好了嗎？ 讓我們開始吧。</p>
<p>1. ERPNext 背後的公司 - Frappe Technologies</p>
<p>「ERPNext」是一個軟體名稱，由一家名為「Frappe Technologies」的公司使用名為「Frappe Framework」的框架創建。 該公司是在 Odoo S.A. 之後不久成立的。因此，這家公司並不是新成立的，並且在很長一段時間內一直在跌跌撞撞地尋找自己的出路。 它的創始人 Rushabh Mehta 是印度人/孟買人。 從美國受教育。</p>
<p>Rushabh 先生在未能在市場上找到足夠好的 ERP 之後創建了 ERPNext 作為其家族企業的解決方案，這些 ERP 既昂貴又不靈活。 令人驚訝的是，這與 Fabien Pinckaers 創建 Odoo 的原因相同。 然而，使 ERPNext 與包括 Odoo 在內的其他產品不同的是，從第一天開始就決定使用元框架的概念。 這個想法是讓數據模型/視圖邏輯/工作流和其他組件盡可能多地準備好由數據配置使用，並且需要盡可能少的編碼。</p>
<p>在早期，進展非常緩慢，因為要創建一些東西，不是直接編碼出那個組件，而是創建將實習創建組件的元數據組件（參考：ERPNext 的起源）。 這個元框架就是今天所說的低程式碼/無程式碼平台。</p>
<p>經過幾天的汗水和淚水，Frappe Framework 和 ERPNext 已經發展成為一個穩定且低維護的軟體，需要更少的開發人員進行維護。 Frappe 團隊相當小，如果沒有被誤解的話，4-5 年前他們只有 20 人。 後來忙著擴張，現在只有 60-80 人，跟 Odoo S.A. 幾千人的員工比起來簡直是小巫見大巫。</p>
<p>我喜歡 Frappe 團隊的地方在於它的設計原則，Frappe 非常重視用戶體驗，多年來它的 UI/UX 不斷地重新設計。 如果你瀏覽 Frappe 的網站，你會發現每個方面都極簡主義和高標準（參考：人與設計，ERPNext V13 重新設計）。</p>
<p>Frappe 是一家擁有非常民主文化的公司，其核心價值觀「透明和自由」貫穿於他們所做的一切。 一個具體的證據是選擇你自己的薪酬計劃，如果不是真正相信開放的文化，那將是不可能的。</p>
<p>許多驚喜轉為敬佩，選擇Frappe對我來說，不僅僅是軟體，還有公司和他們的價值觀。</p>
<p>2018 年，我參加了在 Jarkatar 舉行的開發者聚會並遇到了 Rushabh Mehta。</p>
<p>2. 100% 開放原始碼</p>
<p>畢業后一直從事企業IT工作。 我在一個面向銷售的專有軟體部門。 而且我對我們銷售的軟體有不好的感覺，這些軟體往往會誇大但最終無法兌現承諾。</p>
<p>10 年前，有人向我介紹了 Adempiere，一個開放原始碼 ERP，它的理念和社區。 事情與我來自的地方完全相反。 看起來真誠、開放、樸實無華。 它邀請大家發表意見並幫助進一步發展。 在那之後，我再也沒有回頭。</p>
<p>許多優秀的開放原始碼軟體一開始都是 100% 開放的，並吸引了大批頑固的開發人員。 一旦成功，就會讓他們的社區失望。 因此，開放原始碼是我在這裡的一個關鍵準則。</p>
<p>Odoo 本身在啟動時也是 100% 開放原始碼的，直到版本 9，許可從 AGPL（100% 開放）更改為 LGPL（開放核心）。 隨後，幾個關鍵模塊已從社區版本中刪除。</p>
<p>我們不得不接受這樣一個事實，即 Odoo S.A. 逐漸降低其開放原始碼強度，更多地關注行銷而不是傾聽他們的社區。</p>
<p>我不會判斷哪個更好。 Odoo 是迄今為止市場上最成功的開放原始碼軟體。 良好的行銷對開發商及其合作夥伴也有良好的影響。 但是對於來自開放原始碼類型的我們來說，我們可能希望在開放原始碼方式上走得更遠。</p>
<p>至於Frappe，它不僅沒有改變他們過去十年的承諾，而且似乎更加強烈地堅持開放原始碼原則。</p>
<p>有一個案例讓我印象深刻。 Frappe Cloud 為 Frappe Technologies 提供了一定程度的財務自由。 對於公司來說，這是它創收的秘密武器，如果它自己保守這個秘密，沒有人會介意。 但在 ERPNext</p>
<p>在孟買舉行的 2022 年大會上，由 Aditya Hase 領導的 Frappe Cloud 團隊宣布 Frappe Cloud 將開放原始碼，這讓所有人都大吃一驚。 這一原則決定使公司真正 100% 開放原始碼，毫不妥協。</p>
<p>未來是不確定的。 但如果我必須預測一家公司將保持 100% 開放原始碼，我當然會選擇 Frappe Technologies。</p>
<p>3.低程式碼/無程式碼</p>
<p>如果我只能選擇 ERPNext 相對於 Odoo 的一個優勢，我會選擇低程式碼/無程式碼功能。 低程式碼/無程式碼現在很流行，這個領域有很多參與者（例如 AppSmith、Retools、Bubble 等），但 Frappe 是唯一一個足以創建像 ERP 這樣的複雜系統的公司。</p>
<p>Frappe Framework 允許用戶無需編寫程式碼即可創建應用 程式，而是通過創建新的 DocType 並直接通過使用者介面對其進行自定義。 這相當於在 Odoo 中編碼出 Model / View / Action。</p>
<p>以我通過創建名為「Cash Holder Summary」的 Doctype 創建的新窗口為例</p>
<p>當您想要自定義時，選擇自定義菜單。 用戶可以立即編輯數據模型和視圖。 完成後，按下更新按鈕，瞧，用戶可以繼續使用它中斷的應用 程式。</p>
<p>需要比 CRUD App 更複雜的邏輯？ 在許多其他無程式碼選項中，Frappe 用戶可以在 伺服器端和客戶端以低程式碼編寫腳本。</p>
<p>例如，下面的腳本設置為在更新費用索賠文檔時運行，以驗證稅基金額並顯示警告消息。</p>
<p>我不會去進一步的細節。 如需更多自定義選項，我編寫了一個基礎教程 Frappe Low Code 101。</p>
<p>現在讓我們回顧一下，使用 Frappe Low Code 我們幾乎可以做任何事情：數據建模、UI/UX、工作流、Onchange、計算欄位、 列印輸出、報告、視圖、圖表、圖形、菜單等等。 一切都可以導出以安裝在另一個 網站。</p>
<p>此外，通過 Low Code 螢幕編寫腳本只是一種選擇，在 VS Code 上編寫程式碼也是可能的，並且推薦使用。</p>
<p>在Odoo中，無論是創建新的模塊還是自定義現有的模塊，無論多小，都需要 程式員，需要一個部署步驟。</p>
<p>有些人可能會爭辯說，Odoo 也有一個名為 Studio 的低程式碼工具。 好吧……不是真的。 如果粗略的看一下，或者拿來做demo，我覺得還可以。 但如果它在項目中被廣泛使用，從長遠來看要小心問題。 因為 Studio 只是更混亂程式碼之上的糖層。 Studio 不是真正的低程式碼工具，而且永遠不會。 有經驗的人會告訴你遠離工作室。</p>
<p>而 Frappe 從第一天開始就是作為低程式碼方法建構的。 這是使用 Frappe 建構應用 程式的自然方式。</p>
<p>關於自定義開發，那些同時使用過這兩個系統的人會說 Frappe Framework 比 Odoo 更容易學習。 但比易於開發更重要的是低程式碼的敏捷性，可以直接從 UI 即時調整即時系統，這大大降低了維護成本。</p>
<p>4.一致性</p>
<p>一致性意味著整個系統的標準化工作方式、UX/UI。</p>
<p>事實上，Odoo 作為一個框架也有標準化的工作方式，但不如 Frappe。 我想舉例說明文檔的狀態和更改狀態的按鈕操作。</p>
<p>在 Odoo 中，每個文檔都可以有無限數量的 Status 和 Actions，因為它們是通過自定義編碼創建的。 例如，一個 RFQ 文檔可能有 4 個狀態（包括取消），並且有一些操作按鈕可以將一種狀態更改為另一種狀態。</p>
<p>而在 Frappe 中只需將 Doctype 設置為 Submittable（無編碼），文檔將只有 3 種狀態：0-Draft、1-Submitted 和 2-Cancelled，其中顯示有效的操作按鈕。 這適用於所有可提交的文件。</p>
<p>看起來 Frappe 缺乏靈活性，不是嗎？ 話雖如此，這是用於創建像 ERP 這樣的複雜系統的框架，它具有針對每個 Doctype 的工作流配置，您可以在其中添加任意數量的狀態和操作，無需編碼。</p>
<p>擁有更標準化的工作方式使系統變得簡單和可預測，直接影響整個系統的穩定性。</p>
<p>5. 精心打造的特色</p>
<p>我會將 Frappe 定義為 Apple Inc，以用戶為中心和對細節的關注。 我想舉一個在 ERP 中非常常用的例子，表格 列印。</p>
<p>在 Odoo 中，我們將使用基於 XML 的文件 QWeb 來創建 列印輸出表單。 還有其他一些替代方案，例如 Jasper iReport，但它們都很複雜，需要部署步驟，而且不是很優雅。</p>
<p>直到今天，Odoo 仍以同樣的方式工作，通過點擊 列印菜單下載 PDF。</p>
<p>在 ERPNext 中，有一個可以拖放的表單生成器和可選的 Html/Jinja 模板組件。</p>
<p>單擊文檔窗口中的 列印按鈕會顯示一個漂亮的 列印預覽窗口。</p>
<p>您可以選擇 列印格式和語言。</p>
<p>完整頁面</p>
<p>刷新頁面</p>
<p>列印按鈕</p>
<p>低成本為新鋰電池帶來優勢</p>
<p>ve系統，這裡的調整往往還沒有結束。 用戶可以調整設計，單擊刷新並立即看到結果。</p>
<p>我喜歡的另一個示例功能是數據導入，它為每個文檔類型都有一個專用窗口。</p>
<p>一些突出的能力，例如，</p>
<ul>
<li>支持大批量的作業隊列</li>
<li>即時進度條</li>
<li>使用 Google 表格中的數據</li>
<li>將所有導入歷史保存在一個地方</li>
<li>能夠僅導出錯誤的記錄以便更正並再次導入</li>
</ul>
<p>我目前的體驗，對於相同的功能，Frappe 似乎更周到。</p>
<p>6. 安全和審計日誌</p>
<p>ERPNext 具有安全性和可追溯性功能，無需依賴 Odoo 等社區外掛。</p>
<p>安全和審計日誌是ERP系統的一大強制性要求。 無論它擁有多少業務功能，缺乏良好的安全特性是任何企業都不能接受的。</p>
<p>一如既往，我想引用具體的例子，比如用戶許可權管理。 您會看到每個 Doctype 的許可權更詳細，就像在 Odoo 中一樣，例如操作、 列印、共享、導出，一切都在一個窗口中完成。</p>
<p>在用戶窗口中，顯示了很多安全功能。 我特別喜歡的一個例子是 IP 限制。 它適用於不希望員工從組織外部使用系統的組織。</p>
<p>可以在一個地方管理各種類型的審計日誌。</p>
<p>所有類型的日誌都被仔細保存並且易於理解。</p>
<p>每一個文件都保留每一個變化。 比較新舊數據。</p>
<p>7.可擴展性</p>
<p>對於曾經使用 Odoo 部署過大型系統的人來說，一定遇到過性能問題。 主要問題在於 Odoo 的 ORM（對象關係映射），這在某種程度上是一個很好的特性。 ORM 使得編寫程式碼來讀取/寫入數據變得非常容易，但代價是大量的 SQL 連接。</p>
<p>當我剛接觸 ERPNext 時，我發現 Frappe 有一個 String Name 欄位並將其用作外鍵而不是 Integer ID，這讓我非常惱火。 我一直都知道資料庫規範化需要一個整數 ID，並且如果它需要來自另一個表的名稱，則始終使用 SQL 連接。</p>
<p>比如ERPNext中的Purchase Order介面，懂技術的都知道，對於Odoo來說，它會使用5個join來檢索相關的Names (Supplier, Company, User, Warehouse, Item)。</p>
<p>但是使用 ERPNext，不需要單個 SQL 連接，因為在每個欄位中看到的名稱資訊直接從採購訂單表本身顯示。</p>
<p>ERPNext 上使用的示例 SQL。</p>
<p>從 `tabPurchase Order` 中選擇供應商、公司、requested_by，其中 name = 'PO-2023-01150'</p>
<p>如您所見，ERPNext 在其數據結構級別上具有擴展性，無論 Odoo 多麼努力，我相信 ERPNext 將更具可擴展性。</p>
<p>8. 升級也免費且簡單！</p>
<p>對於安裝最新版本的 Odoo 的人來說，可能不會太擔心未來的升級。 但是對於10年沒有升級的系統來說，這是一種風險，也是一個很大的機會喪失。</p>
<p>除了可以免費升級，Frappe的系統架構也讓升級變得非常簡單。 要升級，只需在命令行中輸入，</p>
<p>&gt; git pull (更新程式碼到最新)</p>
<p>&gt; 基準遷移（做升級）</p>
<p>Odoo開發者都會知道Odoo的架構是非常模塊化的。 在每次成功的實施中，可能會安裝數百個模塊。 每個模塊都將與其他模塊緊密相關。 一個模塊的更新會連續影響其他模塊，DevOps 必須足夠好以確保一個模塊的更改不會影響其他模塊。</p>
<p>此外，如果您想升級到新的主要版本，您需要為所有用戶購買企業許可證，然後將您的資料庫提交給 Odoo S.A. 以升級您的資料庫。</p>
<p>回到 Frappe 框架，系統架構不像 Odoo 那樣模塊化。 您可以安裝額外的應用 程式或編寫您自己的自定義應用 程式，但它們不像 Odoo 案例那樣分散或緊密依賴於其他應用 程式。</p>
<p>Odoo 以在不諮詢社區的情況下更改新主要版本中的數據結構而聞名，導致開發人員需要額外的工作來糾正他們的模塊。 最新的例子是版本 16 中刪除的分析標籤。</p>
<p>雖然 ERPNext 團隊很少更改系統的結構，或者如果有更改，它會與其開發人員社區密切協商。</p>
<p>由於上述許多原因，ERPNext 上的額外應用 程式往往可以在新的主要版本中運行，而無需像 Odoo 中那樣進行太多修改，並且升級過程中的痛苦要小得多。</p>
<p>我使用專為 ERPNext 托管的 Frappe Cloud。 升級也超級簡單。 當雲系統警告程式碼已更新時，按下立即更新按鈕，就是這樣。</p>
<p>Frappe Cloud 是我最喜歡的服務之一。 與 <a href="https://link.zhihu.com/?target=http%3A//odoo.sh/" data-wpel-link="external" rel="nofollow external noopener noreferrer">Odoo.sh</a> 相比，它易於使用且價格非常合理。 我運行了 6 個 網站，在更新系統時從未遇到過任何問題。</p>
<p>9. 貼合當地需求</p>
<p>從使用該系統的經驗來看，在我看來，ERPNext 具有以下特點：</p>
<p>帽子更適合我們當地的需要。 這在某種程度上是我個人的觀點。 長期使用Odoo，總覺得開箱即用的Odoo並沒有滿足我們需求的功能，我們必須始終依賴社區模塊來滿足我們國家的基本需求</p>
<ul>
<li>Odoo 沒有員工預付款/費用清算，只有費用索賠，但 ERPNext 有。</li>
<li>Odoo Payroll 不支持符合泰國慣例，但 ERPNext 可以。</li>
<li>Odoo 沒有 Employee Loan 供員工借錢作為福利，但是 ERPNext 有。</li>
<li>Odoo 沒有多層折扣和賬單折扣，但 ERPNext 有。</li>
</ul>
<p>等等</p>
<p>ERPNext 的概念似乎傾向於像我們這樣的亞洲，那裡的業務通常比西方國家更挑剔。</p>
<p>10. Frappeverse Frappe生態圈</p>
<p>Frappe Framework 已經達到了一個非常穩定的點。 Frappe 團隊可以以更低的成本更快地發布新產品。 Frappe Cloud 的到來有助於增加收入，並允許團隊推出比 ERPNext 更多樣化的產品，他們稱之為 Frappeverse。</p>
<p>Frappeverse由多種產品組成，全部基於Frappe Framework，每個產品團隊都有自己的技術和市場，其中ERPNext仍然是Frappe的主打產品。</p>
<p>Frappeverse 也是 100% 開放原始碼的，其中一些也可以在 SASS 中使用：</p>
<p>Frappe 框架 - 用於低程式碼開發</p>
<p>ERPNext - ERP / CRM / SCM</p>
<p>Frappe HR - 工資單、員工自助服務、貸款、休假、考勤等人力資源管理系統</p>
<p>Frappe Insight - 商業智能和視覺化</p>
<p>Frappe Books - 離線會計軟體</p>
<p>Gameplan - 企業通信和協作軟體</p>
<p>Frappe Desk - Helpdesk 系統</p>
<p>Frappe LMS - 學習管理系統</p>
<p>Frappe Healthcare - 醫療保健管理系統</p>
<p>Frappe Wiki - 創建 wiki 文檔.</p>
<p>Frappe Drive - 管理文檔和文件</p>
<p>過去，人們只知道 ERPNext 而不知道 Frappe Framework。 隨著 Frappeverse 的出現，Frappe Technology 擺脫了單獨在 ERP 市場的競爭。 其他市場的存在應該會加強 Frappe 團隊。 對於那些選擇 Frappe 生態系統的人來說，還可以獲得更廣泛的軟體應用 程式來實施。 當然，所有這些都是 100% 開放原始碼的。</p>
<p><strong>總結</strong></p>
<p>到目前為止閱讀過並且對 Frappe / ERPNext 感興趣的任何人，我認為現在是開始的好時機。 儘管與 Odoo 相比，ERPNext 在市場上的知名度較低，但它有其獨特的價值主張和功能。</p>
<p>對我來說，兩者都是非常好的商業軟體。 這篇文章不是想表達 Odoo 不是好的選擇，它是一種選擇的自由。 當我們了解它們時，我們可以充分利用它們的差異，並根據情況選擇合適的。</p>
<p>如果你已經選擇 Odoo ，但你仍然想要 100% 開放原始碼，我強烈建議你加入 OCA（Odoo 社區協會），它會成為你的救星。 如果您喜歡開放原始碼並希望項目能落地，恕我直言，這是唯一的途徑；）</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/38280/erpnext-compare-odoo/" data-wpel-link="internal">ERPNext 如何優於 Odoo &#8211; 一個資深Odoo服務商轉ERPNext后的感悟</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PWA 漸進式實踐 （1） &#8211; Lighthouse in Action</title>
		<link>https://hypergrowths.com/amazon/38158/topic-24864565/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:42:55 +0000</pubDate>
				<category><![CDATA[Amazon 全球開店]]></category>
		<category><![CDATA[CRM]]></category>
		<category><![CDATA[Facebook廣告]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[前端開發]]></category>
		<category><![CDATA[數位行銷]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38158/topic-24864565/</guid>

					<description><![CDATA[<p>不知道大家還記不記得之前的四篇 PWA 系列翻譯： 知乎專欄知乎專欄知乎專欄知乎專欄不過這畢竟是老外他們自己的實踐，而且相對來說是從科普角度來描述了 PWA 的實踐，對想要直接進行 PWA 優化的，可能會覺得比較囉...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/amazon/38158/topic-24864565/" data-wpel-link="internal">PWA 漸進式實踐 （1） &#8211; Lighthouse in Action</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">PWA 漸進式實踐 （1） - Lighthouse in Action</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="Mark"><meta itemprop="image" content="https://pic2.zhimg.com/v2-b2fa626e52a9635df4ac4d2a85d297c0_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/markzhai"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<p data-pid="sNWzEvpO">不知道大家還記不記得之前的四篇 PWA 系列翻譯：</p>
<ul>
<li data-pid="nfKx6WL1"><a href="https://zhuanlan.zhihu.com/p/23673184?refer=moduth" class="internal" data-wpel-link="external" rel="nofollow external noopener noreferrer">知乎專欄</a></li>
<li data-pid="T65gxfJe"><a href="https://zhuanlan.zhihu.com/p/23926652?refer=moduth" class="internal" data-wpel-link="external" rel="nofollow external noopener noreferrer">知乎專欄</a></li>
<li data-pid="IWLJNSRR"><a href="https://zhuanlan.zhihu.com/p/23966686?refer=moduth" class="internal" data-wpel-link="external" rel="nofollow external noopener noreferrer">知乎專欄</a></li>
<li data-pid="7f8HaUss"><a href="https://zhuanlan.zhihu.com/p/23966862?refer=moduth" class="internal" data-wpel-link="external" rel="nofollow external noopener noreferrer">知乎專欄</a></li>
</ul>
<p data-pid="OjJiQuv0">不過這畢竟是老外他們自己的實踐，而且相對來說是從科普角度來描述了 PWA 的實踐，對想要直接進行 PWA 優化的，可能會覺得比較囉嗦。</p>
<p data-pid="nZ3CurAx">恰好我司最近使用 React 全家桶開發了一個網站：<a href="https://link.zhihu.com/?target=https%3A//pai.bigins.cn" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">海綿保保</a>，所以乾脆就拿它開刀，來進行 PWA 優化，順便記錄一下點滴。</p>
<p data-pid="nK0SWqF6">作為切入的工具，Lighthouse 見：<a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Lighthouse Chrome 外掛程式</a>。</p>
<h1>Lighthouse</h1>
<p data-pid="jFEYgYZ1">首先我看了下 taobao 的評分，21/100，恩... 這樣一來，就有信心了，再怎麼我們肯定比它高不是？</p>
<p data-pid="WLMZhoyE">測了一下，嗯... 果然還算看得過去，66分，至少及格了不是？</p>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-a267e825e42ee5b484e62d1ae896ab2f_r.png" data-rawwidth="552" data-rawheight="90" class="origin_image zh-lightbox-thumb" width="552" data-original="https://pic4.zhimg.com/v2-a267e825e42ee5b484e62d1ae896ab2f_b.png" title="v2-a267e825e42ee5b484e62d1ae896ab2f_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-a267e825e42ee5b484e62d1ae896ab2f_r.png" data-rawwidth="552" data-rawheight="90" class="origin_image zh-lightbox-thumb lazy" width="552" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='552'%20height='90'&gt;&lt;/svg&gt;" data-actualsrc="https://pic4.zhimg.com/v2-a267e825e42ee5b484e62d1ae896ab2f_b.png" title="v2-a267e825e42ee5b484e62d1ae896ab2f_r"></figure>
<p data-pid="hxi1QaxC">我們的目標就是能把它優化到<strong>90分</strong>以上！ （作為 PWA 模範的 <a href="https://link.zhihu.com/?target=http%3A//mobile.twitter.com" class=" external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external"><span class="invisible">http://</span><span class="visible">mobile.twitter.com</span></a>，就達到了90分）</p>
<p data-pid="EKevlti7">作為系列第一篇，我們先來看看有哪些問題導致了網站評分不夠高，其產生原因和大概的解決策略。</p>
<h1>App在離線/間斷網路下的載入</h1>
<p data-pid="h7d61BgX">第一類就是 Service Worker 導致的問題：</p>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-b9a98b986c3f7c4e73134bf266268633_r.jpg" data-rawwidth="683" data-rawheight="304" class="origin_image zh-lightbox-thumb" width="683" data-original="https://pic4.zhimg.com/v2-b9a98b986c3f7c4e73134bf266268633_b.png" title="v2-b9a98b986c3f7c4e73134bf266268633_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-b9a98b986c3f7c4e73134bf266268633_r.jpg" data-rawwidth="683" data-rawheight="304" class="origin_image zh-lightbox-thumb lazy" width="683" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='683'%20height='304'&gt;&lt;/svg&gt;" data-actualsrc="https://pic4.zhimg.com/v2-b9a98b986c3f7c4e73134bf266268633_b.png" title="v2-b9a98b986c3f7c4e73134bf266268633_r"></figure>
<p data-pid="lgUsAQDv">簡單描述 Service Worker 的話，可以理解為一個本地的 server，在用戶端（瀏覽器）發起請求的時候，可以直接監聽到它並直接進行回應。</p>
<p data-pid="0e0x8_Kg">當然，它不僅僅是這麼一個攔截器，本身作為一個後台運行的任務，它還能進行預載入，離線回應（返回200），甚至進行 push 提示。</p>
<h1>頁面載入性能</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-1539dec957fbe8ce5938d6b6bf7d22f5_r.jpg" data-rawwidth="701" data-rawheight="617" class="origin_image zh-lightbox-thumb" width="701" data-original="https://pic2.zhimg.com/v2-1539dec957fbe8ce5938d6b6bf7d22f5_b.png" title="v2-1539dec957fbe8ce5938d6b6bf7d22f5_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-1539dec957fbe8ce5938d6b6bf7d22f5_r.jpg" data-rawwidth="701" data-rawheight="617" class="origin_image zh-lightbox-thumb lazy" width="701" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='701'%20height='617'&gt;&lt;/svg&gt;" data-actualsrc="https://pic2.zhimg.com/v2-1539dec957fbe8ce5938d6b6bf7d22f5_b.png" title="v2-1539dec957fbe8ce5938d6b6bf7d22f5_r"></figure>
<p></p>
<p data-pid="i1YyogmL">各種性能指標不夠過關啦。</p>
<h1>漸進式增強</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-328a77d31cb1329d54209d5958ef882e_r.jpg" data-rawwidth="673" data-rawheight="227" class="origin_image zh-lightbox-thumb" width="673" data-original="https://pic3.zhimg.com/v2-328a77d31cb1329d54209d5958ef882e_b.png" title="v2-328a77d31cb1329d54209d5958ef882e_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-328a77d31cb1329d54209d5958ef882e_r.jpg" data-rawwidth="673" data-rawheight="227" class="origin_image zh-lightbox-thumb lazy" width="673" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='673'%20height='227'&gt;&lt;/svg&gt;" data-actualsrc="https://pic3.zhimg.com/v2-328a77d31cb1329d54209d5958ef882e_b.png" title="v2-328a77d31cb1329d54209d5958ef882e_r"></figure>
<p data-pid="eCWUY-ZG">即 JavaScript 被禁用的時候，頁面仍然應該有內容，即便那只是提示使用者需要打開 JavaScript 以使用 app。</p>
<h1>添加到主螢幕</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-01b086a57b876e29f0de5bc9921455e5_r.jpg" data-rawwidth="774" data-rawheight="418" class="origin_image zh-lightbox-thumb" width="774" data-original="https://pic2.zhimg.com/v2-01b086a57b876e29f0de5bc9921455e5_b.png" title="v2-01b086a57b876e29f0de5bc9921455e5_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-01b086a57b876e29f0de5bc9921455e5_r.jpg" data-rawwidth="774" data-rawheight="418" class="origin_image zh-lightbox-thumb lazy" width="774" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='774'%20height='418'&gt;&lt;/svg&gt;" data-actualsrc="https://pic2.zhimg.com/v2-01b086a57b876e29f0de5bc9921455e5_b.png" title="v2-01b086a57b876e29f0de5bc9921455e5_r"></figure>
<p></p>
<p data-pid="oW00PV7m">manifest 其實我已經加上了，還是因為 service worker 沒有註冊，所以最後沒有生效。</p>
<h1>避免影響用戶體驗的APIs</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-800fab65beb694361b69fa2c137d538b_r.jpg" data-rawwidth="788" data-rawheight="399" class="origin_image zh-lightbox-thumb" width="788" data-original="https://pic4.zhimg.com/v2-800fab65beb694361b69fa2c137d538b_b.png" title="v2-800fab65beb694361b69fa2c137d538b_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-800fab65beb694361b69fa2c137d538b_r.jpg" data-rawwidth="788" data-rawheight="399" class="origin_image zh-lightbox-thumb lazy" width="788" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='788'%20height='399'&gt;&lt;/svg&gt;" data-actualsrc="https://pic4.zhimg.com/v2-800fab65beb694361b69fa2c137d538b_b.png" title="v2-800fab65beb694361b69fa2c137d538b_r"></figure>
<p data-pid="oJ015609">一些 css 標籤放在 header 裡，阻塞影響到了頁面體驗。</p>
<h1>輔助功能</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-9038768ff64d1a22cdd54472e136861e_r.jpg" data-rawwidth="836" data-rawheight="1005" class="origin_image zh-lightbox-thumb" width="836" data-original="https://pic3.zhimg.com/v2-9038768ff64d1a22cdd54472e136861e_b.png" title="v2-9038768ff64d1a22cdd54472e136861e_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-9038768ff64d1a22cdd54472e136861e_r.jpg" data-rawwidth="836" data-rawheight="1005" class="origin_image zh-lightbox-thumb lazy" width="836" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='836'%20height='1005'&gt;&lt;/svg&gt;" data-actualsrc="https://pic3.zhimg.com/v2-9038768ff64d1a22cdd54472e136861e_b.png" title="v2-9038768ff64d1a22cdd54472e136861e_r"></figure>
<p data-pid="PWdM7gLS">對比度啦，標籤啦，還有那麼幾個缺省了的。</p>
<h1>性能指標</h1>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-4a84f74861c4e4bca3fd7a59e44d1153_r.jpg" data-rawwidth="835" data-rawheight="522" class="origin_image zh-lightbox-thumb" width="835" data-original="https://pic4.zhimg.com/v2-4a84f74861c4e4bca3fd7a59e44d1153_b.png" title="v2-4a84f74861c4e4bca3fd7a59e44d1153_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-4a84f74861c4e4bca3fd7a59e44d1153_r.jpg" data-rawwidth="835" data-rawheight="522" class="origin_image zh-lightbox-thumb lazy" width="835" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='835'%20height='522'&gt;&lt;/svg&gt;" data-actualsrc="https://pic4.zhimg.com/v2-4a84f74861c4e4bca3fd7a59e44d1153_b.png" title="v2-4a84f74861c4e4bca3fd7a59e44d1153_r"></figure>
<p></p>
<p data-pid="dMofrgbk">載入鏈太長。</p>
<h1>奇妙的東西</h1>
<p data-pid="9K6Snk_M">總而言之就是一些新特性。</p>
<figure><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-d398165e29a232578b70f69a46c0329a_r.jpg" data-rawwidth="843" data-rawheight="363" class="origin_image zh-lightbox-thumb" width="843" data-original="https://pic3.zhimg.com/v2-d398165e29a232578b70f69a46c0329a_b.png" title="v2-d398165e29a232578b70f69a46c0329a_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-d398165e29a232578b70f69a46c0329a_r.jpg" data-rawwidth="843" data-rawheight="363" class="origin_image zh-lightbox-thumb lazy" width="843" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='843'%20height='363'&gt;&lt;/svg&gt;" data-actualsrc="https://pic3.zhimg.com/v2-d398165e29a232578b70f69a46c0329a_b.png" title="v2-d398165e29a232578b70f69a46c0329a_r"></figure>
<p data-pid="SUXfSry9">然而好像是外掛程式還是 sw-tools 導致的。</p>
<h1>預告</h1>
<p data-pid="0fmfUZsd">本篇中我們大致看到了哪些問題導致了我們的webapp的 PWA 評分不夠高，下一次，我們會開始逐個開刀，解決這些問題。 對本話題感興趣的朋友，也可以使用 Lighthouse 外掛程式，對自家的網站或者其他網站來評評分，看看做得有多好（其實我們的<strong>66分</strong>真的已經挺高了）。</p>
<p></p>
<p data-pid="DV3ukDQh">​</p>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/amazon/38158/topic-24864565/" data-wpel-link="internal">PWA 漸進式實踐 （1） &#8211; Lighthouse in Action</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Lighthouse &#124; Chrome 團隊開源的網站性能評測工具</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38154/topic-29058829/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:42:38 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<category><![CDATA[極光日報]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38154/topic-29058829/</guid>

					<description><![CDATA[<p>簡評：Chrome 團隊的一個開源專案，它能對網站的性能進行測評，同時還能生成一份詳盡的報告。 Lighthouse 是一個開源的自動化工具，用於改進網路應用的品質。 開發者可以將其作為一個 Chrome 擴展程式運行，或從命...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38154/topic-29058829/" data-wpel-link="internal">Lighthouse | Chrome 團隊開源的網站性能評測工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Lighthouse | Chrome 團隊開源的網站性能評測工具</h1>
<blockquote>
<p><strong>簡評：</strong> Chrome 團隊的一個開源專案，它能對網站的性能進行測評，同時還能生成一份詳盡的報告。</p>
</blockquote>
<p><a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" data-wpel-link="external" rel="nofollow external noopener noreferrer">Lighthouse</a> 是一個開源的自動化工具，用於改進網路應用的品質。 開發者可以將其作為一個 Chrome 擴展程式運行，或從命令行運行。 <a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" data-wpel-link="external" rel="nofollow external noopener noreferrer">Chrome 擴充程式</a>提供了一個對使用者更友好的介面，方便讀取報告。 而命令行工具則允許開發者將 Lighthouse 整合到持續整合系統。</p>
<p>使用時，先提供一個需要審查的網址，它將針對此頁面運行一連串的測試，然後生成一個有關頁面性能的報告。</p>
<h2><strong>使用 Chrome 擴充程式</strong></h2>
<p><strong>安裝：</strong>從 Chrome 應用商店安裝 <a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" data-wpel-link="external" rel="nofollow external noopener noreferrer">延伸程式</a></p>
<p><strong>運行：</strong>點擊 Generate report 按鈕以針對當前打開的頁面運行 Lighthouse 測試</p>
<p><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-d2ac71360987e0c641ee7ea51079f4ed_r.jpg" alt="" title="v2-d2ac71360987e0c641ee7ea51079f4ed_r" /></p>
<p><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-d2ac71360987e0c641ee7ea51079f4ed_r.jpg" alt="" title="v2-d2ac71360987e0c641ee7ea51079f4ed_r" /></p>
<h2><strong>使用命令行工具</strong></h2>
<p>安裝 <a href="https://link.zhihu.com/?target=https%3A//nodejs.org/" data-wpel-link="external" rel="nofollow external noopener noreferrer">Node</a>，需要版本 5 或更高版本。</p>
<p>安裝 Lighthouse 作為一個全域節點模組。</p>
<pre><code>npm install -g lighthouse</code></pre>
<p>針對一個頁面運行 Lighthouse 審查。</p>
<pre><code>lighthouse https://airhorner.com/</code></pre>
<p>傳遞 --help 標誌以查看可用的輸入和輸出選項。</p>
<pre><code>lighthouse --help</code></pre>
<h2><strong>查看報告</strong></h2>
<p>Lighthouse 能夠生成一份 JSON 或 HTML 報告：</p>
<p><img decoding="async" src="https://s3.tenten.co/hypergrowth/image/2021/11/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r.jpg" alt="" title="v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r-1" /></p>
<p><img decoding="async" src="https://s3.tenten.co/hypergrowth/image/2021/11/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r.jpg" alt="" title="v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r-1" /></p>
<hr />
<blockquote>
<p><strong>Github：</strong></p>
</blockquote>
<p><a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" data-wpel-link="external" rel="nofollow external noopener noreferrer">GoogleChrome/lighthouse</a></p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38154/topic-29058829/" data-wpel-link="internal">Lighthouse | Chrome 團隊開源的網站性能評測工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>使用Chrome一鍵分析網站</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38148/topic-56411701/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:42:12 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<category><![CDATA[不止前端]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38148/topic-56411701/</guid>

					<description><![CDATA[<p>這裡用到了Chrome里開發者工具裡的Audit面板，其實背後調用的是lighthouse 選擇后直接點Run audits按鈕，直接生成報告，下面是對知乎網站生成的分析報告 可以看到性能和PWA兩項得分很低 PWA裡都是紅叉，幾乎都沒做...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38148/topic-56411701/" data-wpel-link="internal">使用Chrome一鍵分析網站</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">使用Chrome一鍵分析網站</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="AnLi"><meta itemprop="image" content="https://pic3.zhimg.com/v2-a1f6df099bf9a72c7ad624240b576ec6_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/anli-li-69"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<p data-pid="gOIEcpVg">這裡用到了Chrome里開發者工具里的Audit面板，其實背後調用的是lighthouse</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-005a23e17b4ac8cf57550039d73a9f58_r.jpg" data-caption="" data-size="normal" data-rawwidth="1840" data-rawheight="910" class="origin_image zh-lightbox-thumb" width="1840" data-original="https://pic1.zhimg.com/v2-005a23e17b4ac8cf57550039d73a9f58_b.jpg" title="v2-005a23e17b4ac8cf57550039d73a9f58_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-005a23e17b4ac8cf57550039d73a9f58_r.jpg" data-caption="" data-size="normal" data-rawwidth="1840" data-rawheight="910" class="origin_image zh-lightbox-thumb lazy" width="1840" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='1840'%20height='910'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-005a23e17b4ac8cf57550039d73a9f58_b.jpg" title="v2-005a23e17b4ac8cf57550039d73a9f58_r"></figure>
<p data-pid="ImcPUEiD">選擇后直接點Run audits按鈕，直接生成報告，下面是對知乎網站生成的分析報告</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-c6d5f98305d8ab38196f621c139a346d_r.jpg" data-caption="" data-size="normal" data-rawwidth="1490" data-rawheight="860" class="origin_image zh-lightbox-thumb" width="1490" data-original="https://pic2.zhimg.com/v2-c6d5f98305d8ab38196f621c139a346d_b.jpg" title="v2-c6d5f98305d8ab38196f621c139a346d_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-c6d5f98305d8ab38196f621c139a346d_r.jpg" data-caption="" data-size="normal" data-rawwidth="1490" data-rawheight="860" class="origin_image zh-lightbox-thumb lazy" width="1490" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='1490'%20height='860'&gt;&lt;/svg&gt;" data-actualsrc="https://pic2.zhimg.com/v2-c6d5f98305d8ab38196f621c139a346d_b.jpg" title="v2-c6d5f98305d8ab38196f621c139a346d_r"></figure>
<p data-pid="VK7WYfMz">可以看到性能和PWA兩項得分很低</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-3347e700988cb4c42c8f0f1d68c2dca8_r.jpg" data-caption="" data-size="normal" data-rawwidth="1408" data-rawheight="852" class="origin_image zh-lightbox-thumb" width="1408" data-original="https://pic1.zhimg.com/v2-3347e700988cb4c42c8f0f1d68c2dca8_b.jpg" title="v2-3347e700988cb4c42c8f0f1d68c2dca8_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-3347e700988cb4c42c8f0f1d68c2dca8_r.jpg" data-caption="" data-size="normal" data-rawwidth="1408" data-rawheight="852" class="origin_image zh-lightbox-thumb lazy" width="1408" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='1408'%20height='852'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-3347e700988cb4c42c8f0f1d68c2dca8_b.jpg" title="v2-3347e700988cb4c42c8f0f1d68c2dca8_r"></figure>
<p data-pid="fSmdDEUQ">PWA裡都是紅叉，幾乎都沒做</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-00bf2910a48dd7a4a771bd82576b7d26_r.jpg" data-caption="" data-size="normal" data-rawwidth="1452" data-rawheight="850" class="origin_image zh-lightbox-thumb" width="1452" data-original="https://pic3.zhimg.com/v2-00bf2910a48dd7a4a771bd82576b7d26_b.jpg" title="v2-00bf2910a48dd7a4a771bd82576b7d26_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-00bf2910a48dd7a4a771bd82576b7d26_r.jpg" data-caption="" data-size="normal" data-rawwidth="1452" data-rawheight="850" class="origin_image zh-lightbox-thumb lazy" width="1452" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='1452'%20height='850'&gt;&lt;/svg&gt;" data-actualsrc="https://pic3.zhimg.com/v2-00bf2910a48dd7a4a771bd82576b7d26_b.jpg" title="v2-00bf2910a48dd7a4a771bd82576b7d26_r"></figure>
<p data-pid="4hcoSlPO">剩下的我就不貼圖了，還是非常值得推薦的一款不用費心費力的工具。</p>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38148/topic-56411701/" data-wpel-link="internal">使用Chrome一鍵分析網站</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Lighthouse &#8211; Chrome 團隊開源的網站性能評測工具</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38144/topic-67833518/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:41:56 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<category><![CDATA[蟻點分享]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38144/topic-67833518/</guid>

					<description><![CDATA[<p>Lighthouse 是一個開源的自動化工具，用於改進網路應用的品質。 開發者可以將其作為一個 Chrome 擴展程式運行，或從命令行運行。 Chrome 擴充程式提供了一個對使用者更友好的介面，方便讀取報告。 而命令列工具則允許...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38144/topic-67833518/" data-wpel-link="internal">Lighthouse &#8211; Chrome 團隊開源的網站性能評測工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">Lighthouse - Chrome 團隊開源的網站性能評測工具</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="Andot蚁点"><meta itemprop="image" content="https://pica.zhimg.com/v2-7fe6d22ba64328fccc88324b22d85299_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/antsdot"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<p data-pid="2ZW62zvf"><a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Lighthouse</a> 是一個開源的自動化工具，用於改進網路應用的品質。 開發者可以將其作為一個 Chrome 擴展程式運行，或從命令行運行。 <a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Chrome 擴充程式</a>提供了一個對使用者更友好的介面，方便讀取報告。 而命令行工具則允許開發者將 Lighthouse 整合到持續整合系統。</p>
<p data-pid="M3uM8w__">使用時，先提供一個需要審查的網址，它將針對此頁面運行一連串的測試，然後生成一個有關頁面性能的報告。</p>
<h2><b>使用 Chrome 擴充程式</b></h2>
<p data-pid="Ynur2MoP"><b>安裝：</b>從 Chrome 應用商店安裝 <a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">延伸程式</a></p>
<p data-pid="khoLNLIg"><b>運行：</b>點擊 Generate report 按鈕以針對當前打開的頁面運行 Lighthouse 測試</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-dcf04e5e765e2a9553ac8ac1150c14c4_r.jpg" data-caption="" data-size="normal" data-rawwidth="696" data-rawheight="394" class="origin_image zh-lightbox-thumb" width="696" data-original="https://pic1.zhimg.com/v2-dcf04e5e765e2a9553ac8ac1150c14c4_b.jpg" title="v2-dcf04e5e765e2a9553ac8ac1150c14c4_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-dcf04e5e765e2a9553ac8ac1150c14c4_r.jpg" data-caption="" data-size="normal" data-rawwidth="696" data-rawheight="394" class="origin_image zh-lightbox-thumb lazy" width="696" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='696'%20height='394'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-dcf04e5e765e2a9553ac8ac1150c14c4_b.jpg" title="v2-dcf04e5e765e2a9553ac8ac1150c14c4_r"></figure>
<h2><b>使用命令行工具</b></h2>
<p data-pid="jNOVZvov">安裝 <a href="https://link.zhihu.com/?target=https%3A//nodejs.org/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Node</a>，需要版本 5 或更高版本。</p>
<p data-pid="XedZSANv">安裝 Lighthouse 作為一個全域節點模組。</p>
<div class="highlight">
<pre><code class="language-text">npm install -g lighthouse</code></pre>
</div>
<p data-pid="AWwWWw_-">針對一個頁面運行 Lighthouse 審查。</p>
<div class="highlight">
<pre><code class="language-text">lighthouse https://airhorner.com/</code></pre>
</div>
<p data-pid="w6SEq_Jj">傳遞 --help 標誌以查看可用的輸入和輸出選項。</p>
<div class="highlight">
<pre><code class="language-text">lighthouse --help</code></pre>
</div>
<h2><b>查看報告</b></h2>
<p data-pid="Jl3hHEne">Lighthouse 能夠生成一份 JSON 或 HTML 報告：</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r.jpg" data-caption="" data-size="normal" data-rawwidth="1744" data-rawheight="1608" class="origin_image zh-lightbox-thumb" width="1744" data-original="https://pic2.zhimg.com/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_b.jpg" title="v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r.jpg" data-caption="" data-size="normal" data-rawwidth="1744" data-rawheight="1608" class="origin_image zh-lightbox-thumb lazy" width="1744" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='1744'%20height='1608'&gt;&lt;/svg&gt;" data-actualsrc="https://pic2.zhimg.com/v2-8af2fd9fb2f673a690e0b98d92f0b8ed_b.jpg" title="v2-8af2fd9fb2f673a690e0b98d92f0b8ed_r"></figure>
<hr>
<blockquote data-pid="FwmQl0dP"><p><b>Github：</b></p></blockquote>
<p data-pid="S98DFqrW"><a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">GoogleChrome/lighthouse</a></p>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38144/topic-67833518/" data-wpel-link="internal">Lighthouse &#8211; Chrome 團隊開源的網站性能評測工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>頁面審核工具 Chrome Lighthouse 簡介</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38138/topic-71239403/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:41:33 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38138/topic-71239403/</guid>

					<description><![CDATA[<p>作者：Bolaji Ayodeji 翻譯：瘋狂的技術宅 原文：https://www.freecodecamp.org/news/introduction-to-chrome-lighthouse/ 未經允許嚴禁轉載 Chrome Lighthouse 已經存在了一段時間了，但如果我要求你解釋一下它能...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38138/topic-71239403/" data-wpel-link="internal">頁面審核工具 Chrome Lighthouse 簡介</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">頁面審核工具 Chrome Lighthouse 簡介</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="前端先锋"><meta itemprop="image" content="https://pic3.zhimg.com/v2-c34b9750421bae17256cca4f0208125a_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/lin-ju-jia-de-mao-89"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<blockquote data-pid="K_RFgi3r"><p> 作者：Bolaji Ayodeji<br /> 翻譯：瘋狂的技術宅<br />原文：<a href="https://link.zhihu.com/?target=https%3A//www.freecodecamp.org/news/introduction-to-chrome-lighthouse/" class=" external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external"><span class="invisible">https://www.</span> <span class="visible">freecodecamp.org/news/i</span><span class="invisible">ntroduction-to-chrome-lighthouse/</span></a><br /><b>未經允許嚴禁轉載</b></p></blockquote>
<p class="ztext-empty-paragraph"></p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-c02230c42a14e687d1b24935b946686b_r.jpg" data-caption="" data-size="normal" data-rawwidth="800" data-rawheight="324" class="origin_image zh-lightbox-thumb" width="800" data-original="https://pic4.zhimg.com/v2-c02230c42a14e687d1b24935b946686b_b.jpg" title="v2-c02230c42a14e687d1b24935b946686b_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-c02230c42a14e687d1b24935b946686b_r.jpg" data-caption="" data-size="normal" data-rawwidth="800" data-rawheight="324" class="origin_image zh-lightbox-thumb lazy" width="800" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='800'%20height='324'&gt;&lt;/svg&gt;" data-actualsrc="https://pic4.zhimg.com/v2-c02230c42a14e687d1b24935b946686b_b.jpg" title="v2-c02230c42a14e687d1b24935b946686b_r"></figure>
<p class="ztext-empty-paragraph"></p>
<p data-pid="NrBbvrQr">Chrome Lighthouse 已經存在了一段時間了，但如果我要求你解釋一下它能做什麼，你能解釋清楚嗎？</p>
<p data-pid="5-wnj-Bk">我發現許多 Web 開發人員包括初學者，都沒有聽說過這個工具，而那些尚未嘗試過的人，一點也不酷 。</p>
<p data-pid="uI4ZcqLh">在本文中，我將向你介紹 Chrome Lighthouse 的作用以及如何使用它。</p>
<p data-pid="4dy3Oqkh">讓我們開始吧  </p>
<hr>
<blockquote data-pid="kjLrqvkP"><p><i>根據維琪百科，<b>lighthouse</b>是一座塔樓、建築物或其他類型的結構，它用燈和鏡頭系統發出光線，作為海上或內陸水道船舶的導航設備</i>。</p></blockquote>
<p data-pid="DExPjt8v">好吧，讓我們把它變成一個技術術語;</p>
<blockquote data-pid="2XJlVTEl"><p><i>Lighthouse 是一個塔樓，建築物或其他類型的結構，它在 Chrome 開發者工具的"審核"面板下的系統發出光線，並作為開發人員的指南</i></p></blockquote>
<p data-pid="kxop1Xso">有道理嗎？ </p>
<p data-pid="tn1ahXrh">好吧，Lighthouse 是 Google 開發的一款工具，用於分析網路應用和網頁，收集現代性能指標並提供對開發人員最佳實踐的意見。</p>
<p data-pid="MoLLLdsG">可以將 Lighthouse 看作是汽車中用來檢查和平衡汽車速度限制的車速表。</p>
<p data-pid="VvRWfspS">一般情況下 Lighthouse 與開發最佳實踐和性能指標一起使用。 它在 Web 應用上運行檢查，併為你提供有關錯誤的反饋、低於標準的實踐、更好的性能提示以及如何解決這些問題。</p>
<p data-pid="AljQvtho">根據Google Developers Docs上的描述</p>
<blockquote data-pid="RUcEIJcp"><p><i>Lighthouse 是一種開源的自動化工具，用於提高網頁品質。 你可以在任何網頁上運行它。 它能夠針對性能、可訪問性、漸進式 Web 應用等進行審核。</i><br /><i>你可以在 Chrome DevTools 中從命令行運行 Lighthouse，也可以作為 Node.js 模組運行。 當你向 Lighthouse 提供了一個 URL 來進行審核時，它會針對該頁面運行一系列審核，然後生成一個關於該頁面執行情況的報告。 這份報告可以作為如何改進頁面的指標。 每次審核都會產生一份參考文檔，解釋了這些審核為什麼重要，以及如何解決等內容。</i></p></blockquote>
<p data-pid="AfyRER80">這幾乎都與 Lighthouse 有關，它會審核 Web 應用的 URL 並根據 Web 標準和開發人員最佳實踐生成一份報告，告訴你 Web 應用的糟糕程度。 報告的每個部分還附有文檔，說明你的應用哪些部分已經通過審核，為什麼你應該改進應用的某一部分以及如何去解決它。</p>
<p data-pid="aKKZ0W9h">以下是此部落格<a href="https://link.zhihu.com/?target=https%3A//bolajiayodehi.com/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">https://bolajiayodeji.com</a>的lighthouse審核報告演示</p>
<p class="ztext-empty-paragraph"></p>
<p class="ztext-empty-paragraph"></p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-ebe20bd5b77167a3298285e8a245d509_r.jpg" data-caption="" data-size="normal" data-rawwidth="798" data-rawheight="455" class="origin_image zh-lightbox-thumb" width="798" data-original="https://pic2.zhimg.com/v2-ebe20bd5b77167a3298285e8a245d509_b.jpg" title="v2-ebe20bd5b77167a3298285e8a245d509_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-ebe20bd5b77167a3298285e8a245d509_r.jpg" data-caption="" data-size="normal" data-rawwidth="798" data-rawheight="455" class="origin_image zh-lightbox-thumb lazy" width="798" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='798'%20height='455'&gt;&lt;/svg&gt;" data-actualsrc="https://pic2.zhimg.com/v2-ebe20bd5b77167a3298285e8a245d509_b.jpg" title="v2-ebe20bd5b77167a3298285e8a245d509_r"></figure>
<p class="ztext-empty-paragraph"></p>
<p data-pid="v1Rl93Zh">左：我的部落格 右：Lighthouse 審核報告</p>
<p data-pid="9ViQPlpr">很酷吧？ </p>
<p data-pid="2pwtFTwP">應該注意的是，在我的第一次審計中，並沒有得到這樣的好成績。 所以我用第一份報告來修復和改善自己程式的性能和品質。</p>
<p data-pid="VUEuPnhu">這是 Lighthouse 目的：它識別和修復影響你網站性能、可訪問性和用戶體驗的常見問題。</p>
<p class="ztext-empty-paragraph"></p>
<p class="ztext-empty-paragraph"></p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-33fb762e1917537cd7e9f71d5b275c90_r.jpg" data-caption="" data-size="normal" data-rawwidth="464" data-rawheight="375" class="origin_image zh-lightbox-thumb" width="464" data-original="https://pic1.zhimg.com/v2-33fb762e1917537cd7e9f71d5b275c90_b.jpg" title="v2-33fb762e1917537cd7e9f71d5b275c90_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-33fb762e1917537cd7e9f71d5b275c90_r.jpg" data-caption="" data-size="normal" data-rawwidth="464" data-rawheight="375" class="origin_image zh-lightbox-thumb lazy" width="464" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='464'%20height='375'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-33fb762e1917537cd7e9f71d5b275c90_b.jpg" title="v2-33fb762e1917537cd7e9f71d5b275c90_r"></figure>
<hr>
<p data-pid="XKRL-6_V">現在，讓我們進入到有趣的部分，<b>如何開始使用它！！</b></p>
<p data-pid="3fTkvZOT">LightHouse 有三種工作流程</p>
<ul>
<li data-pid="5wRCqb1v">Chrome 開發者工具</li>
<li data-pid="vjvKbNPn">命令列 （Node.js）</li>
<li data-pid="8luIt3AI">Chrome 擴充程式</li>
</ul>
<p data-pid="oGWNLV2k">我個人更喜歡在 Dev Tools 中使用 LightHouse。 使用擴展程式沒有意義，因為開發工具和擴展程式在同一個 Chrome 瀏覽器中工作，我們的偏好不同，你可以選擇最適合自己的方法。</p>
<p data-pid="uhJuIlCe">Lighthouse 在添加到 Chrome DevTools 之前首先只能使用 Chrome 擴展程式。</p>
<p data-pid="KAcI3y5-">在命令行上使用 lighthouse 也很酷，（對於極客來說 ）</p>
<p data-pid="nTBfvMIZ"><i>讓我們開始吧!!!</i></p>
<hr>
<h3>[1] 在Chrome DevTools 中運行 Lighthouse</h3>
<ul>
<li data-pid="n0BdH_VP">下載谷歌瀏覽器網頁瀏覽器<a href="https://link.zhihu.com/?target=https%3A//www.google.com/chrome/browser/desktop/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">這個處</a></li>
</ul>
<blockquote data-pid="tv7knmvY"><p><i>注意：Lighthouse 只能在桌面上運行</i></p></blockquote>
<ul>
<li data-pid="bhK1XMvn">轉到你要在Google Chrome中審核的URL。</li>
</ul>
<blockquote data-pid="-bz-Kv49"><p><i>你可以審核網路上的任何 URL。</i></p></blockquote>
<ul>
<li data-pid="ErltMuKO">打開 Chrome DevTools</li>
</ul>
<div class="highlight">
<pre><code class="language-bash"><span class="o">(</span>Mac<span class="o">)</span>
<span class="o">(</span>Windows, Linux, Chrome OS<span class="o">)</span>.</code></pre>
</div>
<ul>
<li data-pid="IzMim_gc">按兩下 <b>Audits</b> 面板</li>
</ul>
<p class="ztext-empty-paragraph"></p>
<p class="ztext-empty-paragraph"></p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-2f3a438d50190222667f79ce23116028_r.jpg" data-caption="" data-size="normal" data-rawwidth="799" data-rawheight="430" class="origin_image zh-lightbox-thumb" width="799" data-original="https://pic1.zhimg.com/v2-2f3a438d50190222667f79ce23116028_b.jpg" title="v2-2f3a438d50190222667f79ce23116028_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-2f3a438d50190222667f79ce23116028_r.jpg" data-caption="" data-size="normal" data-rawwidth="799" data-rawheight="430" class="origin_image zh-lightbox-thumb lazy" width="799" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='799'%20height='430'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-2f3a438d50190222667f79ce23116028_b.jpg" title="v2-2f3a438d50190222667f79ce23116028_r"></figure>
<p class="ztext-empty-paragraph"></p>
<p data-pid="OGwxA686">左側是將被審核的頁面，這是我的部落格 。 右側是 Chrome DevTools 的 <b>Audits 面板</b>，現在由 Lighthouse 提供支援</p>
<ul>
<li data-pid="kvD552-s">點擊 <b>Run audits</b></li>
</ul>
<blockquote data-pid="Ifl8Fx5a"><p><i>DevTools 顯示審計類別清單。 確保將它們全部被選中。 如果你想個人化要審核的哪個部分，可以通過選中要審核的類別來設置。</i></p></blockquote>
<ul>
<li data-pid="w-ynzTDU">60 至 90 秒後 —— 根據你的網速，Lighthouse 會在頁面上為你提供報告。</li>
</ul>
<blockquote data-pid="m6TxCmo7"><p><i>並非只有網速和預安裝的擴展可能會影響lighthouse審核。 為了獲得更好的體驗，請在 <b>Icognito 模式</b>下進行審核來避免所有的干擾</i></p></blockquote>
<h3>[2] 在命令行中運行lighthouse</h3>
<ul>
<li data-pid="8TZaQVre">下載<a href="https://link.zhihu.com/?target=https%3A//www.google.com/chrome/browser/desktop/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">谷歌 Chrome 瀏覽器</a></li>
<li data-pid="hjzbigrV">下載 <a href="https://link.zhihu.com/?target=https%3A//nodejs.org/en/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Node.js</a>，如果已安裝，請跳過此步驟！</li>
<li data-pid="W2fyshue">安裝 Lighthouse</li>
</ul>
<div class="highlight">
<pre><code class="language-bash">npm install -g lighthouse
<span class="c1"># or use yarn:</span>
yarn global add lighthouse</code></pre>
</div>
<blockquote data-pid="QuvWjKps"><p><i>用 -g 選項將其安裝為全域模組。</i></p></blockquote>
<ul>
<li data-pid="HSUOgyqj">運行審核</li>
</ul>
<div class="highlight">
<pre><code class="language-bash">lighthouse &lt;url&gt;</code></pre>
</div>
<p data-pid="FCDiyGhJ">例如：</p>
<div class="highlight">
<pre><code class="language-bash">lighthouse https://bolajiayodeji.com/</code></pre>
</div>
<p data-pid="7qUHFfQp">Lighthouse 預設生成 HTML 格式的報告檔。 你可以通過添加控制選項來控制輸出的格式。</p>
<p data-pid="1uF24ZY3">報告能夠以 <b>HTML</b> 或 <b>JSON</b> 格式顯示。</p>
<p data-pid="0n6SZeh8">輸出樣本：</p>
<div class="highlight">
<pre><code class="language-bash">lighthouse
<span class="c1"># saves <code>./&lt;HOST&gt;_&lt;DATE&gt;.report.html</code></span>

lighthouse --output json
<span class="c1"># json output sent to stdout</span>

lighthouse --output html --output-path ./report.html
<span class="c1"># saves <code>./report.html</code></span><span class="c1"># NOTE: specifying an output path with multiple formats ignores your specified extension for *ALL* formats</span>
lighthouse --output json --output html --output-path ./myfile.json
<span class="c1"># saves <code>./myfile.report.json</code> and <code>./myfile.report.html</code></span>

lighthouse --output json --output html
<span class="c1"># saves <code>./&lt;HOST&gt;_&lt;DATE&gt;.report.json</code> and <code>./&lt;HOST&gt;_&lt;DATE&gt;.report.html</code></span>

lighthouse --output-path<span class="o">=</span>~/mydir/foo.out --save-assets
<span class="c1"># saves <code>~/mydir/foo.report.html</code></span><span class="c1"># saves <code>~/mydir/foo-0.trace.json</code> and <code>~/mydir/foo-0.devtoolslog.json</code></span>

lighthouse --output-path<span class="o">=</span>./report.json --output json
<span class="c1"># saves <code>./report.json</code></span></code></pre>
</div>
<p data-pid="D8G4Rchh">通過運行 <code>$ lighthouse --help</code> 來查看為 CLI 選項</p>
<h3>[3] 使用 Chrome 擴展程式運行 Lighthouse</h3>
<p data-pid="L33qjfSA"><i>正如我之前所說，DevTools工作流程是最好的，因為它除了與擴展工作流程相同之外，還有額外的好處：無需進行安裝。</i></p>
<p data-pid="Y8eKNjij"><i>To use this method you need to install the extension, but If you have your reasons, here is the guide</i>; <i>要使用此方法，你需要安裝擴展程式，如果你有自己的理由的話。 這是按照指南：</i></p>
<ul>
<li data-pid="8Im7EMM9">下載<a href="https://link.zhihu.com/?target=https%3A//www.google.com/chrome/browser/desktop/" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">谷歌 Chrome 瀏覽器</a></li>
<li data-pid="mCPBLkyg">從 Chrome 網上應用程式安裝 <a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Lighthouse Chrome 延伸程式</a>。</li>
<li data-pid="t6rPbFHc">導航到要審核的頁面</li>
<li data-pid="t-dMPyK5">點擊 <b>Lighthouse 圖示</b>。</li>
</ul>
<blockquote data-pid="9pmQ3MQQ"><p><i>它應該在 Chrome 位址欄旁邊。 如果沒有，請打開Chrome的主功能表（右上角的三個點），然後在功能表頂部訪問它。 點擊後會展開 Lighthouse 功能表。</i></p></blockquote>
<ul>
<li data-pid="IHUz9sww">按兩下 <b>Generate report</b>。</li>
</ul>
<blockquote data-pid="2FuG4D4h"><p><i>Lighthouse 會針對打開的頁面運行審核，然後打開一個新選項卡，其中包含結果報告。</i></p></blockquote>
<p data-pid="a77GPv41">Bingo! 你做到了~</p>
<hr>
<p data-pid="nA_7AmuB">就這些，Lighthouse 是一個很好的工具，尤其適合初學者。</p>
<p data-pid="etlAuI2C">在審核 Progressive Web 應用時，它是一個非常有用的工具。</p>
<p data-pid="g1vDLx_u">當我開始使用 Lighthouse 時，實際上學到了很多優化和性能標準。 相信你很快就能夠成為能夠構建具有出色性能、可訪問性和用戶體驗的Web應用專家。 <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<blockquote data-pid="RvX7rVzX"><p><i>Lighthouse 不是魔術，它是由人類創造的。 它是開源的，歡迎對其作出你的貢獻。 可以通過查看 github 上的 issue 追蹤器，找到可以修復的錯誤，或者創建和改進審核過程。 issue 跟蹤器也是討論審計指標，新審計想法或與 Lighthouse 相關的任何內容的好去處。</i></p></blockquote>
<h3>歡迎關注前端公眾號：前端先鋒，獲取前端工程化實用工具包。</h3>
<figure data-size="normal"><noscript><img decoding="async" src="" data-caption="" data-size="normal" data-rawwidth="258" data-rawheight="258" class="content_image" width="258" data-original="https://pic2.zhimg.com/v2-9a01c5cc3422d21bfdf593b384956ab9_b.jpg"></noscript><img decoding="async" src="" data-caption="" data-size="normal" data-rawwidth="258" data-rawheight="258" class="content_image lazy" width="258" data-actualsrc="https://pic2.zhimg.com/v2-9a01c5cc3422d21bfdf593b384956ab9_b.jpg" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='258'%20height='258'&gt;&lt;/svg&gt;"></figure>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38138/topic-71239403/" data-wpel-link="internal">頁面審核工具 Chrome Lighthouse 簡介</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>谷歌的5大搜尋引擎優化工具</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38136/topic-84960082/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:41:16 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38136/topic-84960082/</guid>

					<description><![CDATA[<p>Google優化提供了許多適用於SEO的工具，以下是谷歌的五大搜尋引擎優化工具。 1. Chrome燈塔Lighthouse是網站優化評論工具的「精簡」版本。 它目前提供有關十個SEO指標的反饋。 該燈塔SEO工具也可以下載並安裝Chrome...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38136/topic-84960082/" data-wpel-link="internal">谷歌的5大搜尋引擎優化工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">谷歌的5大搜尋引擎優化工具</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="优化小王子"><meta itemprop="image" content="https://pic2.zhimg.com/v2-6f968a3cc6e46f01ccf827bdd19cbb16_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/you-hua-xiao-wang-zi"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<p data-pid="eeA2BONZ">Google優化提供了許多適用於SEO的工具，以下是谷歌的五大搜尋引擎優化工具。</p>
<p class="ztext-empty-paragraph"></p>
<h2><b>1. Chrome燈塔</b></h2>
<p data-pid="qL_f828M">Lighthouse是網站優化評論工具的「精簡」版本。 它目前提供有關十個SEO指標的反饋。 該燈塔SEO工具也可以下載並安裝Chrome瀏覽器作為一個擴展 燈塔範圍有限，但它提供10個指標，事關對谷歌的快照。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="dP9GFEYl">Ten Metrics Chrome Lighthouse目前報導：</p>
<p data-pid="k3iVbWEk">視口元標記</p>
<p data-pid="N_vEDW7o">標題元素</p>
<p data-pid="gykSOi83">元描述</p>
<p data-pid="H8sN417g">HTTP狀態代碼</p>
<p data-pid="tkkvd1Wa">連結上的描述性文本</p>
<p data-pid="p7l834Gc">成功抓取和編製索引的頁面狀態</p>
<p data-pid="092GNffn">驗證Hreflang</p>
<p data-pid="W5mHv1ll">驗證rel = canonical</p>
<p data-pid="6u9Tu2Sq">驗證行動裝置的字型易讀性</p>
<p data-pid="2c5Rw1c5">檢查文件是否避免瀏覽器外掛程式進行查看</p>
<p data-pid="Q0dOitcv">為什麼你應該使用燈塔SEO工具</p>
<p data-pid="Llx2-V9O">將Chrome Lighthouse視為輕量級網站審核工具很容易。 我不會否認它，Lighthouse是一個輕量級的網站評論工具。 但是，它是一個重要的網站評論工具，因為它代表了Google對您應該關注的十個指標的看法。 如果Google認為這些指標很重要，那麼您也應該這樣做。</p>
<p class="ztext-empty-paragraph"></p>
<h2><b>2. TestMySite</b></h2>
<p data-pid="tBsiMO4Z">此網站審核工具提供兩個指標：</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="OqudljJq">預計3G移動網路的載入時間</p>
<p data-pid="PbrTdYSN">由於載入時間不佳導致訪客損失估計。</p>
<p data-pid="SK5DMWS2">這是獲取網站速度健康快照的好工具。 這是一個很好的起點指標。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="d9m_QnQi">該工具還提供了一封完整的報告，其中包含有關加快特定網頁速度的建議。 但它也需要註冊一份時事通訊。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="WBdJRWfS">為什麼要使用TestMySite</p>
<p data-pid="mXSXRo49">您也可以使用Page Speed Insights獲取相同的訊息。 儘管如此，TestMySite工具是獲取網頁速度縮略圖概覽的絕佳方式。 如果您想要詳細瞭解需要修復的內容，請轉到Google的Page Speed Insights。</p>
<p class="ztext-empty-paragraph"></p>
<h2><b>3. Page Speed Insights</b></h2>
<p data-pid="M6LRIIEF">此在線工具提供了一個分數，並提供了加快網頁速度的具體技巧。 它告訴您哪些腳本和樣式表正在減慢您的網站速度，哪些圖像太大，並提供了許多其他提示來加快您的網頁速度。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="dMinnm5G">為什麼你應該使用頁面速度見解</p>
<p data-pid="WT2OC78B">Page Speed Insights不僅為影響頁面速度的隱藏技術問題提供了有用的解決方案。 它也是了解這些問題的資源。 每個突出顯示的問題都連結到提供深入訊息的Google Developers頁面。</p>
<p class="ztext-empty-paragraph"></p>
<h2><b>4. 安全瀏覽測試</b></h2>
<p data-pid="tTQqe-ar">此工具可測試網站上是否存在任何惡意軟體。 然而...... 這個工具的一個有趣之處在於它還揭示了網站測試的最後日期。 我不知道網站測試頻率的標準是什麼。 有些網站seo的測試頻率高於其他網站。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="tJCA-qxq">據推測，最後的測試日期基於一些重要性度量。 我懷疑它可能與網站更新的頻率有關，這反過來可能會影響網站的抓取頻率。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="SOlgc0T8">為什麼要使用安全瀏覽測試工具</p>
<p data-pid="aumPZUKc">如果您的網站最近沒有更新，並且日期對應於上次更新網站，我不擔心。 但該工具確實提供了有關其是否託管惡意軟體的有價值訊息，並可能指示網站更新和爬網的頻率。</p>
<p class="ztext-empty-paragraph"></p>
<h2><b>5. 谷歌趨勢</b></h2>
<p data-pid="gCb9ZGFw">Google趨勢提供有關關鍵字受歡迎程度的訊息，並按時間和地理位置對訊息進行細分。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="dXAhtGIk">時間段可以讓您了解季節如何影響關鍵詞優化排名。 它還可以顯示關鍵字是否正在失去人氣。 如果您在關鍵字中看到下降趨勢，則可能表明產品或趨勢導致搜索者失去對該搜索的興趣。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="dIjDI_E9">為什麼你應該使用谷歌趨勢</p>
<p data-pid="t80nddlY">Google趨勢對於競爭性研究也很重要。 它向您顯示人們使用競爭對手的品牌名稱搜索Google的頻率。 趨勢線將逐步顯示出這種趨勢是穩定的，如果它上升，下降或穩定。</p>
<p class="ztext-empty-paragraph"></p>
<p data-pid="e5X0gvMi">顯然，趨勢向下的競爭趨勢線是好的。 趨勢線趨於上升是不好的。 趨勢線是穩定的（最常見的）意味著競爭對手表現良好，您必須確定自己的弱點並將其作為您的優勢 - 在眾多考慮因素中。</p>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38136/topic-84960082/" data-wpel-link="internal">谷歌的5大搜尋引擎優化工具</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>使用 Lighthouse檢查及優化Web應用</title>
		<link>https://hypergrowths.com/software-engineering/front-end-dev/38131/topic-103718894/</link>
		
		<dc:creator><![CDATA[marketer]]></dc:creator>
		<pubDate>Tue, 30 Nov 2021 04:41:01 +0000</pubDate>
				<category><![CDATA[前端開發]]></category>
		<guid isPermaLink="false">https://hypergrowths.com/software-engineering/front-end-dev/38131/topic-103718894/</guid>

					<description><![CDATA[<p>Lighthouse 是Google開源的一個自動化工具，用於改進網路應用的品質，適用於網頁版和移動端，比如找出哪些資源適合延遲載入，以及可以在初始頁面載入中節省多少流量。 能生成一個包括頁面性能、PWA（Progressive we...</p>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38131/topic-103718894/" data-wpel-link="internal">使用 Lighthouse檢查及優化Web應用</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></description>
										<content:encoded><![CDATA[<article class="Post-Main Post-NormalMain" tabindex="-1">
<header class="Post-Header">
<h1 class="Post-Title">使用 Lighthouse檢查及優化Web應用</h1>
<div class="Post-Author">
<div class="AuthorInfo" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<div class="AuthorInfo"><meta itemprop="name" content="博哥"><meta itemprop="image" content="https://pic3.zhimg.com/v2-4184a9733c35995c1d5678cfc6f1d5ee_l.jpg?source=172ae18b"><meta itemprop="url" content="https://www.zhihu.com/people/rob666"><meta itemprop="zhihu:followerCount"></div>
</div>
</div>
</header>
<div class="Post-RichTextContainer">
<style data-emotion-css="1yuhvjn">.css-1yuhvjn{margin-top:16px;}</style>
<div class="css-1yuhvjn">
<style data-emotion-css="3jt6os">.css-3jt6os .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-3jt6os .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-3jt6os .FileLinkCard-info{margin-left:12px;}.css-3jt6os .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-3jt6os .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-3jt6os .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="1wr1m8">.css-1wr1m8 .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-1wr1m8 .LinkCard.new,.css-1wr1m8 .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-1wr1m8 .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-1wr1m8 .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-1wr1m8 .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-1wr1m8 .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-1wr1m8 .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-1wr1m8 .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-1wr1m8 .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-1wr1m8 .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-1wr1m8 .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-1wr1m8 .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-1wr1m8 .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-1wr1m8 .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-1wr1m8 .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-1wr1m8 .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-1wr1m8 .LinkCard.old,.css-1wr1m8 .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-1wr1m8 .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-1wr1m8 .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}</style>
<style data-emotion-css="hypxot">.css-hypxot .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hypxot .LinkCard.old,.css-hypxot .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hypxot .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hypxot .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hypxot .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hypxot .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hypxot .LinkCard.new,.css-hypxot .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hypxot .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hypxot .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hypxot .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hypxot .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hypxot .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hypxot .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hypxot .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hypxot .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hypxot .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hypxot .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hypxot .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hypxot .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hypxot .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hypxot .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hypxot .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hypxot .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hypxot .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hypxot .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hypxot .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hypxot .FileLinkCard-info{margin-left:12px;}.css-hypxot .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hypxot .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hypxot .FileLinkCard-source{white-space:pre;}</style>
<style data-emotion-css="hnrfcf animation-1sh55c5">.css-hnrfcf{word-break:break-word;line-height:1.6;}.css-hnrfcf a.UserLink-link{color:#175199;}.css-hnrfcf a.UserLink-link:hover{border-bottom:1px solid #175199;}.css-hnrfcf lazy[data-lazy-status]{background-color:#F6F6F6;}.css-hnrfcf lazy[data-lazy-status="ok"]{background-color:transparent;-webkit-animation:animation-1sh55c5 0.5s ease-in;animation:animation-1sh55c5 0.5s ease-in;}.css-hnrfcf > *:first-of-type{margin-top:0;}.css-hnrfcf > :last-child{margin-bottom:0;}.css-hnrfcf h1,.css-hnrfcf h2{clear:left;margin-top:calc((1.4em * 2) / 1.2);margin-bottom:calc(1.4em / 1.2);font-size:1.2em;line-height:1.5;font-weight:600;}.css-hnrfcf h3,.css-hnrfcf h4,.css-hnrfcf h5,.css-hnrfcf h6{clear:left;margin-top:calc((1.4em * 1.5) / 1.1);margin-bottom:calc(1.4em / 1.1);font-size:1.1em;line-height:1.5;font-weight:600;}.css-hnrfcf u{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dashed #808080;}.css-hnrfcf b{font-weight:600;}.css-hnrfcf sup{font-size:0.8em;}.css-hnrfcf sup[data-draft-type='reference']{color:#175199;}.css-hnrfcf a:focus{outline:none;-webkit-transition:box-shadow 0.3s;transition:box-shadow 0.3s;}html[data-focus-visible] .css-hnrfcf a:focus{box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px rgba(0,102,255,0.3);}.css-hnrfcf a.ztext-link,.css-hnrfcf a.internal,.css-hnrfcf a.external{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-bottom:1px solid #808080;}.css-hnrfcf a.ztext-link:hover,.css-hnrfcf a.internal:hover,.css-hnrfcf a.external:hover{color:#175199;border-bottom:1px solid #175199;}.css-hnrfcf a.ztext-link > .ellipsis::after,.css-hnrfcf a.internal > .ellipsis::after,.css-hnrfcf a.external > .ellipsis::after{content:'...';}.css-hnrfcf a.ztext-link > .invisible,.css-hnrfcf a.internal > .invisible,.css-hnrfcf a.external > .invisible{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;}.css-hnrfcf a.ztext-link u,.css-hnrfcf a.internal u,.css-hnrfcf a.external u{border:none;}.css-hnrfcf a.member_mention{color:#175199;}.css-hnrfcf a.member_mention:hover{border-bottom:1px solid #175199;}.css-hnrfcf p{margin:1.4em 0;}.css-hnrfcf p.ztext-empty-paragraph{margin:calc((2.8em- (1.4em * 2 + 1.6em)) / 2) 0;}.css-hnrfcf p.ztext-empty-paragraph + .ztext-empty-paragraph{margin:1.4em 0;}.css-hnrfcf hr{margin:4em auto;width:240px;max-width:100%;border:none;border-top:1px solid #D3D3D3;}.css-hnrfcf img[eeimg]{max-width:100%;vertical-align:middle;}.css-hnrfcf img[eeimg="1"]{margin:0 3px;display:inline-block;}.css-hnrfcf img[eeimg="2"]{margin:1.4em 0;display:block;}.css-hnrfcf blockquote{margin:1.4em 0;padding-left:1em;color:#646464;border-left:3px solid #D3D3D3;}.css-hnrfcf ol,.css-hnrfcf ul{margin:1.4em 0;padding:0;}.css-hnrfcf ol ol,.css-hnrfcf ul ol,.css-hnrfcf ol ul,.css-hnrfcf ul ul{margin:0;}.css-hnrfcf ol > ol,.css-hnrfcf ul > ol,.css-hnrfcf ol > ul,.css-hnrfcf ul > ul{display:table-row;}.css-hnrfcf ol > ol::before,.css-hnrfcf ul > ol::before,.css-hnrfcf ol > ul::before,.css-hnrfcf ul > ul::before{display:table-cell;content:'';}.css-hnrfcf ul{display:table;}.css-hnrfcf ul>li{display:table-row;list-style:none;}.css-hnrfcf ul>li::before{display:table-cell;content:'&bull;  ';white-space:pre;}.css-hnrfcf ol{display:table;counter-reset:ol;}.css-hnrfcf ol > li{display:table-row;list-style:none;}.css-hnrfcf ol > li::before{display:table-cell;text-align:right;counter-increment:ol;content:counter(ol) '. ';white-space:pre;}.css-hnrfcf ol ol{counter-reset:ol2;}.css-hnrfcf ol ol li::before{counter-increment:ol2;content:counter(ol2) '. ';}.css-hnrfcf ol ol ol{counter-reset:ol3;}.css-hnrfcf ol ol ol li::before{counter-increment:ol3;content:counter(ol3) '. ';}.css-hnrfcf ol ol ol ol{counter-reset:ol4;}.css-hnrfcf ol ol ol ol li::before{counter-increment:ol4;content:counter(ol4) '. ';}.css-hnrfcf figure{margin:1.4em 0;}.css-hnrfcf figure .content_image,.css-hnrfcf figure .origin_image{margin:0 auto;}.css-hnrfcf figure figcaption{margin-top:calc(0.6em / 0.9);padding:0 1em;font-size:0.9em;line-height:1.5;text-align:center;color:#999999;}.css-hnrfcf figure + figure{margin-top:calc(1.4em * 1.6);}.css-hnrfcf figure[data-size='small'],.css-hnrfcf figure:not([data-size]) > [data-size='small']{clear:both;}.css-hnrfcf figure[data-size='left'],.css-hnrfcf figure:not([data-size]) > [data-size='left']{float:left;margin:0 20px 20px 0;max-width:33%;}.css-hnrfcf figure[data-size='right'],.css-hnrfcf figure:not([data-size]) > [data-size='right']{float:right;margin:0 0 20px 20px;max-width:33%;}.css-hnrfcf figure[data-size='collapse']{margin-bottom:0;}.css-hnrfcf figure[data-size='collapse'] + figure{margin-top:0;}.css-hnrfcf .content_image,.css-hnrfcf .origin_image{display:block;max-width:100%;margin:1.4em auto;}.css-hnrfcf .content_image[data-size='small'],.css-hnrfcf .origin_image[data-size='small']{max-width:40%;}.css-hnrfcf .content_image.zh-lightbox-thumb,.css-hnrfcf .origin_image.zh-lightbox-thumb{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in;}.css-hnrfcf code{margin:0 2px;padding:3px 4px;border-radius:3px;font-size:0.9em;background-color:#F6F6F6;}.css-hnrfcf pre{margin:1.4em 0;padding:calc(0.8em / 0.9);font-size:0.9em;word-break:initial;word-wrap:initial;white-space:pre;overflow:auto;-webkit-overflow-scrolling:touch;background:#F6F6F6;border-radius:4px;}.css-hnrfcf pre code{margin:0;padding:0;font-size:inherit;border-radius:0;background-color:inherit;}.css-hnrfcf li pre{white-space:pre-wrap;}.css-hnrfcf table[data-draft-type='table']{border-collapse:collapse;font-size:15px;margin:1.4em auto;max-width:100%;table-layout:fixed;text-align:left;width:100%;}.css-hnrfcf table[data-draft-type='table'][data-size='small']{min-width:260px;width:40%;}.css-hnrfcf table[data-draft-type='table'][data-row-style='striped'] tr:nth-of-type(2n + 1){background:#F6F6F6;}.css-hnrfcf table[data-draft-type='table'] td,.css-hnrfcf table[data-draft-type='table'] th{border:1px solid #D3D3D3;line-height:24px;height:24px;padding:3px 12px;}.css-hnrfcf table[data-draft-type='table'] th{background:#EBEBEB;color:#121212;font-weight:500;}.css-hnrfcf .video-box,.css-hnrfcf .link-box{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin:1.4em 0;overflow:auto;white-space:normal;cursor:pointer;border:solid 1px #EBEBEB;border-radius:4px;}.css-hnrfcf .highlight{margin:1em 0;}.css-hnrfcf .highlight pre{margin:0;}.css-hnrfcf .highlight .hll{background-color:#FDFDFD;}.css-hnrfcf .highlight .c{font-style:italic;color:#999999;}.css-hnrfcf .highlight .err{color:#F1403C;}.css-hnrfcf .highlight .k{font-weight:600;}.css-hnrfcf .highlight .o{font-weight:600;}.css-hnrfcf .highlight .cm{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cp{font-weight:600;color:#999999;}.css-hnrfcf .highlight .c1{font-style:italic;color:#999999;}.css-hnrfcf .highlight .cs{font-style:italic;font-weight:600;color:#999999;}.css-hnrfcf .highlight .gd{color:#FF3366;}.css-hnrfcf .highlight .ge{font-style:italic;}.css-hnrfcf .highlight .gr{color:#F1403C;}.css-hnrfcf .highlight .gh{color:#999999;}.css-hnrfcf .highlight .gi{color:#12b370;}.css-hnrfcf .highlight .go{color:#808080;}.css-hnrfcf .highlight .gp{color:#646464;}.css-hnrfcf .highlight .gs{font-weight:600;}.css-hnrfcf .highlight .gu{color:#999999;}.css-hnrfcf .highlight .gt{color:#F1403C;}.css-hnrfcf .highlight .kc{font-weight:600;}.css-hnrfcf .highlight .kd{font-weight:600;}.css-hnrfcf .highlight .kn{font-weight:600;}.css-hnrfcf .highlight .kp{font-weight:600;}.css-hnrfcf .highlight .kr{font-weight:600;}.css-hnrfcf .highlight .kt{font-weight:600;color:#175199;}.css-hnrfcf .highlight .m{color:#0066FF;}.css-hnrfcf .highlight .s{color:#F1403C;}.css-hnrfcf .highlight .na{color:#0066FF;}.css-hnrfcf .highlight .nb{color:#0066FF;}.css-hnrfcf .highlight .nc{font-weight:600;color:#175199;}.css-hnrfcf .highlight .no{color:#0066FF;}.css-hnrfcf .highlight .ni{color:#5868D1;}.css-hnrfcf .highlight .ne{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nf{font-weight:600;color:#F1403C;}.css-hnrfcf .highlight .nn{color:#646464;}.css-hnrfcf .highlight .nt{color:#175199;}.css-hnrfcf .highlight .nv{color:#0066FF;}.css-hnrfcf .highlight .ow{font-weight:600;}.css-hnrfcf .highlight .w{color:#BFBFBF;}.css-hnrfcf .highlight .mf{color:#0066FF;}.css-hnrfcf .highlight .mh{color:#0066FF;}.css-hnrfcf .highlight .mi{color:#0066FF;}.css-hnrfcf .highlight .mo{color:#0066FF;}.css-hnrfcf .highlight .sb{color:#F1403C;}.css-hnrfcf .highlight .sc{color:#F1403C;}.css-hnrfcf .highlight .sd{color:#F1403C;}.css-hnrfcf .highlight .s2{color:#F1403C;}.css-hnrfcf .highlight .se{color:#F1403C;}.css-hnrfcf .highlight .sh{color:#F1403C;}.css-hnrfcf .highlight .si{color:#F1403C;}.css-hnrfcf .highlight .sx{color:#F1403C;}.css-hnrfcf .highlight .sr{color:#C2A469;}.css-hnrfcf .highlight .s1{color:#F1403C;}.css-hnrfcf .highlight .ss{color:#F1403C;}.css-hnrfcf .highlight .bp{color:#999999;}.css-hnrfcf .highlight .vc{color:#0066FF;}.css-hnrfcf .highlight .vg{color:#0066FF;}.css-hnrfcf .highlight .vi{color:#0066FF;}.css-hnrfcf .highlight .il{color:#0066FF;}.css-hnrfcf .highlight::-webkit-scrollbar{width:6px;height:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal{background-color:rgba(18,18,18,0.5);border-radius:6px;}.css-hnrfcf .highlight::-webkit-scrollbar-thumb:horizontal:hover{background-color:rgba(18,18,18,0.6);}.css-hnrfcf .LinkCard.old{position:relative;display:block;margin:1em auto;width:390px;box-sizing:border-box;border-radius:12px;max-width:100%;overflow:hidden;}.css-hnrfcf .LinkCard.old,.css-hnrfcf .LinkCard.old:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard-ecommerceLoadingCard{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:12px;border-radius:inherit;height:80px;box-sizing:border-box;background:rgba(246,246,246,0.88);color:#D3D3D3;}.css-hnrfcf .LinkCard-ecommerceLoadingCardAvatarWrapper{width:60px;height:60px;background:#EBEBEB;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-radius:6px;margin-right:10px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardNetwork{width:20px;height:20px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar{height:60px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span{height:16px;display:inline-block;background:#EBEBEB;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(1){width:60px;margin-bottom:4px;}.css-hnrfcf .LinkCard-ecommerceLoadingCardLoadingbar span:nth-of-type(2){width:127px;}.css-hnrfcf .LinkCard.new{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:390px;min-height:84px;border-radius:8px;max-width:100%;overflow:hidden;margin:16px auto;padding:12px 12px 9px 12px;background-color:#F6F6F6;}.css-hnrfcf .LinkCard.new,.css-hnrfcf .LinkCard.new:hover{-webkit-text-decoration:none;text-decoration:none;border:none !important;color:inherit !important;}.css-hnrfcf .LinkCard.new .LinkCard-contents{display:block;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;}.css-hnrfcf .LinkCard.new .LinkCard-contents .loading{height:14px;background:#EBEBEB;border-radius:7px;}.css-hnrfcf .LinkCard.new .LinkCard-contents.withTitle{margin-bottom:3px;}.css-hnrfcf .LinkCard.new .LinkCard-title{display:-webkit-box;font-size:15px;font-weight:500;line-height:1.4;margin-bottom:2px;color:#121212;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-title.two-line{line-height:20px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading{margin-bottom:8px;width:80%;}.css-hnrfcf .LinkCard.new .LinkCard-title.loading.withTitle{margin-bottom:6px;}.css-hnrfcf .LinkCard.new .LinkCard-title.loadingTitle{margin-bottom:5px;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt{display:-webkit-box;text-overflow:ellipsis;font-size:13px;line-height:18px;color:#999999;margin-bottom:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-excerpt .LinkCard-author{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-desc{display:-webkit-box;font-size:13px;height:18px;line-height:18px;color:#999999;word-break:break-all;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;}.css-hnrfcf .LinkCard.new .LinkCard-desc .LinkCard-tag,.css-hnrfcf .LinkCard.new .LinkCard-desc .tag{display:inline-block;font-size:11px;margin-left:8px;padding:0 4px;border-radius:3px;background:rgba(211,211,211,0.3);}.css-hnrfcf .LinkCard.new .LinkCard-desc.loading{width:40%;}.css-hnrfcf .LinkCard.new .LinkCard-desc svg{margin-right:2px;}.css-hnrfcf .LinkCard.new .LinkCard-image{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#EBEBEB;background-size:cover;background-position:center;position:relative;display:block;width:60px;height:60px;margin-left:20px;object-fit:cover;border-radius:inherit;overflow:hidden;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#EBEBEB;color:#D3D3D3;}.css-hnrfcf .LinkCard.new .LinkCard-image.LinkCard-image--default svg{color:#999999;}.css-hnrfcf .LinkCard.new .LinkCard-image img{width:100%;height:100%;object-fit:cover;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:24px;height:24px;border-radius:12px;background:rgba(255,255,255,0.9);pointer-events:none;}.css-hnrfcf .LinkCard.new .LinkCard-image .LinkCard-image--video svg{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .text{color:#444444;}.css-hnrfcf .LinkCard.new .LinkCard-richText .bold{font-weight:600;}.css-hnrfcf .LinkCard.new .LinkCard-richText .tag{margin-left:4px;}.css-hnrfcf .FileLinkCard{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(246,246,246,0.88);border-radius:12px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1em auto;max-width:100%;overflow:hidden;padding:12px;position:relative;width:390px;}.css-hnrfcf .FileLinkCard-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;width:30px;}.css-hnrfcf .FileLinkCard-info{margin-left:12px;}.css-hnrfcf .FileLinkCard-name{color:#121212;font-size:15px;font-weight:500;line-height:21px;display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.css-hnrfcf .FileLinkCard-meta{color:#999999;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:14px;margin-top:5px;}.css-hnrfcf .FileLinkCard-source{white-space:pre;}@-webkit-keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}@keyframes animation-1sh55c5{from{opacity:0;}to{opacity:1;}}</style>
<div class="RichText ztext Post-RichText css-hnrfcf" options="[object Object]">
<p data-pid="ttQsiaW7"><a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Lighthouse</a> 是Google開源的一個自動化工具，用於改進網路應用的品質，適用於網頁版和移動端，比如找出哪些資源適合延遲載入，以及可以在初始頁面載入中節省多少流量。 能生成一個包括頁面性能、PWA（Progressive web apps，漸進式 Web 應用）、可訪問性（無障礙）、最佳實踐、SEO的報告清單提供參考，看看可以採取哪些措施來改進您的應用。</p>
<h2>如何使用</h2>
<p data-pid="i9XpKOx-">運行 Lighthouse 的方式有四種：</p>
<ol>
<li data-pid="H3buBWoX">作為 Chrome 擴展程式運行，擴展程式提供了一個對使用者更友好的介面，方便讀取報告，要去應用商店安裝。</li>
<li data-pid="G7GvXA9a">作為命令行工具運行，命令行工具允許您將 Lighthouse 集成到持續集成系統，需要有Node環境。</li>
<li data-pid="_IxqM4PY">使用Node Module，通過Node Module以程式設計方式使用Lighthouse。</li>
<li data-pid="9XASd2I1">在瀏覽器的開發者工具裡運行，這個最簡單，Chrome瀏覽器都會自帶開發者工具，不需要額外安裝，和擴展程式一樣提供了友好的介面。 需要Google Chrome 52 或更高版本。</li>
</ol>
<h2>在開者發工具中運行</h2>
<p data-pid="wD2IXlD0">由於我的瀏覽器版本比較搞，自帶了Lighthouse，所以就不在另外安裝擴展程式了，如果要安裝擴展程式，可以存取<a href="https://link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">程式安裝位址</a>。</p>
<p data-pid="5Y8qAeuf">在chrome瀏覽器中打開你需要測試的網站，然後打開DevTools介面，選擇Audist面板就可以看到介面了。</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-142cd94eaabad8704f4788b448acbd68_r.jpg" data-size="normal" data-rawwidth="989" data-rawheight="714" class="origin_image zh-lightbox-thumb" width="989" data-original="https://pic1.zhimg.com/v2-142cd94eaabad8704f4788b448acbd68_b.jpg" title="v2-142cd94eaabad8704f4788b448acbd68_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-142cd94eaabad8704f4788b448acbd68_r.jpg" data-size="normal" data-rawwidth="989" data-rawheight="714" class="origin_image zh-lightbox-thumb lazy" width="989" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='989'%20height='714'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-142cd94eaabad8704f4788b448acbd68_b.jpg" title="v2-142cd94eaabad8704f4788b448acbd68_r"><figcaption>開發者工具 Audits 介面</figcaption></figure>
<h3>介面說明</h3>
<p data-pid="U7y4zfTm"><b>Device： </b>可以在移動端和桌面端之間切換代理。</p>
<p data-pid="8RWIvxt4"><b>Audists：</b>需要測試並生成的報告種類，包括頁面性能、PWA（Progressive web apps，漸進式 Web 應用）、可訪問性、最佳實踐、SEO的報告。</p>
<p data-pid="62xkBpM9"><b>Throttling</b>：此項可以類比在行動裝置上瀏覽的條件。 比如限制類比4G速度，事實上這並不會在審查期間進行限制，只是類比計算出在限速條件下的性能指標值，它將有助於計算在相應的移動端條件下載入頁面所需的時間。</p>
<h3>運行結果</h3>
<p data-pid="V-ftOcMb">點擊 Run aduits 即可開始測試，測試結果如下：</p>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-e52e103e8afdff8ad4e7fddb99e55e58_r.jpg" data-size="normal" data-rawwidth="964" data-rawheight="632" class="origin_image zh-lightbox-thumb" width="964" data-original="https://pic1.zhimg.com/v2-e52e103e8afdff8ad4e7fddb99e55e58_b.jpg" title="v2-e52e103e8afdff8ad4e7fddb99e55e58_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-e52e103e8afdff8ad4e7fddb99e55e58_r.jpg" data-size="normal" data-rawwidth="964" data-rawheight="632" class="origin_image zh-lightbox-thumb lazy" width="964" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='964'%20height='632'&gt;&lt;/svg&gt;" data-actualsrc="https://pic1.zhimg.com/v2-e52e103e8afdff8ad4e7fddb99e55e58_b.jpg" title="v2-e52e103e8afdff8ad4e7fddb99e55e58_r"><figcaption>Run Aduits 結果</figcaption></figure>
<p data-pid="jfHDTUc8">測試結束后，會生成如上圖的結果報告，包括了勾選的5 大類別的測試評分，針對每個類別會給出特定的優化建議與診斷結果幫助開發者有針對性地進行優化。</p>
<h2>在命令行上運行</h2>
<p data-pid="AbXEuIY4">通過Node CLI 運行可以指定明確的參數訊息，可以同時輸出多個格式的報告文件（預設是HTML），有比較大的靈活性。</p>
<div class="highlight">
<pre><code class="language-js"><span class="nx">npm</span><span class="nx">install</span><span class="o">-</span><span class="nx">g</span><span class="nx">lighthouse</span><span class="err">#</span><span class="nx">or</span><span class="nx">use</span><span class="nx">yarn</span><span class="o">:</span><span class="err">#</span><span class="nx">yarn</span><span class="nx">global</span><span class="nx">add</span><span class="nx">lighthouse</span></code></pre>
</div>
<p data-pid="Ap3--nap">用上面的命令進行安裝，安裝完成後通過以下命令運行（參數只生成性能和最佳實踐）：</p>
<div class="highlight">
<pre><code class="language-js"><span class="nx">lighthouse</span><span class="o">--</span><span class="nx">only</span><span class="o">-</span><span class="nx">categories</span><span class="o">=</span><span class="nx">performance</span><span class="p">,</span><span class="nx">best</span><span class="o">-</span><span class="nx">practices</span><span class="nx">http</span><span class="o">:</span><span class="c1">//suibo.co/
</span></code></pre>
</div>
<figure data-size="normal"><noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-ecca57c762033ca3f1d490c5d88b3f02_r.jpg" data-size="normal" data-rawwidth="765" data-rawheight="347" class="origin_image zh-lightbox-thumb" width="765" data-original="https://pic3.zhimg.com/v2-ecca57c762033ca3f1d490c5d88b3f02_b.jpg" title="v2-ecca57c762033ca3f1d490c5d88b3f02_r"></noscript><img decoding="async" src="https://hypergrowths.com/wp-content/uploads/2021/11/v2-ecca57c762033ca3f1d490c5d88b3f02_r.jpg" data-size="normal" data-rawwidth="765" data-rawheight="347" class="origin_image zh-lightbox-thumb lazy" width="765" data-original="data:image/svg+xml;utf8,&lt;svg%20xmlns='http://www.w3.org/2000/svg'%20width='765'%20height='347'&gt;&lt;/svg&gt;" data-actualsrc="https://pic3.zhimg.com/v2-ecca57c762033ca3f1d490c5d88b3f02_b.jpg" title="v2-ecca57c762033ca3f1d490c5d88b3f02_r"><figcaption>命令行運行介面</figcaption></figure>
<p data-pid="EZTqBbZG">運行時會打開瀏覽器，測試完成後會自動關閉。 在命令行的最下方，會有報告輸出的位址，內容跟上圖的報告截圖一致。 更多參數可以參考 <a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">github文件</a></p>
<h2>使用Node Module運行</h2>
<p data-pid="7sizk_yg">使用Node Module可以以程式設計方式使用Lighthouse，喜歡折騰的可以參考<a href="https://link.zhihu.com/?target=https%3A//github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md%23using-programmatically" class=" wrap external" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">官方例子</a>，其實測試的話用上面的方法也夠了，這裡就不說明瞭。</p>
<h2>總結</h2>
<p data-pid="QI1F8y3s">文章簡單的介紹了下 Lighthouse，也是因為自己網站需要用到，所以在這裡做了個記錄分享給大家，還沒有試過的朋友可以看下，歡迎大家進行交流。</p>
</div>
</div>
</div>
</article>
<h3 style="padding: 15px 0; margin-top:30px;">想了解更多關於 Facebook 與 Google 廣告投放？</h3>
<ul>
<li><a href="https://tenten.co/learning/google-ads-vs-facebook-ads/" data-wpel-link="internal" rel="noopener noreferrer">Google Ads 與 Facebook Ads：哪個更適合您的 2022 年廣告策略？</a></li>
<li><a href="https://university.tenten.co/t/adtech-header-bidding/1087/" data-wpel-link="external" rel="nofollow external noopener noreferrer">AD Tech - 廣告科技總整理</a></li>
</ul>
<p>The post <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com/software-engineering/front-end-dev/38131/topic-103718894/" data-wpel-link="internal">使用 Lighthouse檢查及優化Web應用</a> appeared first on <a rel="nofollow noopener noreferrer" href="https://hypergrowths.com" data-wpel-link="internal">成長駭客交流第一站 - HyperGrowths™</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
