[WordPress] 外掛分享: LH Add Headers

WordPress 外掛 LH Add Headers 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「LH Add Headers」是 2016-05-05 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-05-02,距離現在已有 2924 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.1.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

shawfactor |

外掛標籤

caching | expires | headers | cache-control | last-modified |

內容簡介

304 Not Modified HTTP Header 是告訴訪問者網頁自上次訪問以來沒有任何更改。這很重要,因為如果沒有此標頭,訪問者可能每次都要重新下載您的網頁,進而減慢使用者體驗和您的網站速度。

通常,如果您沒有經過 HTTP 標頭傳遞 304 Not Modified HTTP Header,爬蟲將會從頭爬取整個網站,然後將您的網站內容與已經索引的內容進行比較,檢查是否有更新網站的內容。但是,這個過程會耗用大量的伺服器資源和頻寬。

您可以在這裡了解更多資訊。

在繼續閱讀之前

請注意,此外掛使用輸出緩衝,實際上由此外掛發送的 Etag 是網站緩衝內容的哈希值。如果您的網站使用伺服器端快取,此外掛可能會破壞快取功能。因此,在安裝和啟用之前,我建議您先閱讀常見問題解答。

原文外掛簡介

A 304 Not Modified HTTP Header tells your visitors that nothing has changed since their last visit. This is important as without this header visitors may be downloading your webpages from scratch each time, slowing down their experience and your site.
Generally if you do not pass 304 Not Modified HTTP Header through your HTTP header, crawlers will fetch your whole website and then compare the content of your site with the already indexed content to check whether anything new has been updated on your website or not. But this process consumes a lot of your server resource and bandwidth.
You can know more about it here.
Before reading any further
Before reading any further it is important to understand this plugin uses output buffering, in fact the Etag sent by this plugin is a hash of the sites buffered content. If your site uses server side caching this plugin may break the caching functionality. Therefore I suggest that you please make sure you have studied the FAQ, before installation and activation.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「LH Add Headers」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • VA Simple Expires 》VA Simple Expires 是一個 WordPress 外掛,可以讓你為文章添加過期日期。, 使用方法非常簡單,你只需為文章指定一個過期日期,當日期到達後,該文章便會從你...。
  • Simple Expires 》啟用該外掛後,您可以設定文章或頁面在特定時間到達後自動過期或更改,並提供過期通知。, 通知選項, 簡單期限也可以提醒您:, , 當過期時, , 這個提醒可以幫助...。
  • Server Response 》Server Response 插件可協助您調整伺服器回應標題並關閉 REST API。, 插件功能:, , , 關閉 REST API。, , , 從伺服器回應中移除 REST API 鏈接。, , , 在伺服...。
  • Automatic Expiration for Categories 》這個外掛可以讓您為文章和商品指定的某些類別設定到期日期。若您希望在 WooCommerce 購物車或您的部落格中建立一個「特色商品」或「新品上市」區塊,這個功能...。

文章
Filter
Apply Filters
Mastodon