[WordPress] 外掛分享: Super Light Cache Buster

前言介紹

  • 這款 WordPress 外掛「Super Light Cache Buster」是 2020-06-23 上架。
  • 目前有 600 個安裝啟用數。
  • 上一次更新是 2024-07-25,距離現在已有 283 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
  • 有 9 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mwalek |

外掛標籤

cache | clear | buster | prevent | cachebuster |

內容簡介

開發者做出的變更似乎無法顯示嗎?或者你厭倦了網站煩人的緩存?使用這個外掛來打破緩存!

這個簡單的外掛程式壓縮後少於21KB,並且會將隨機版本號碼添加到CSS和JS檔案上,以防止頁面和瀏覽器緩存干擾你的體驗。

你可以在不使用它的時候完全從設定頁面禁用此外掛,或在網站開發期間啟用它😀。

回饋

我很樂意聽取你的建議和回饋 - 感謝你使用或嘗試我開發的外掛!
在Twitter上@mwale_and_sons與我聯繫
關注我的LinkedIn頁面
或者到我的網站上訪問我。

原文外掛簡介

Can’t see the changes supposedly made by your developer? Or maybe you’re just tired of your site’s annoying cache? Use this plugin to cache a break!
With a compressed size of under 30KB, this simple plugin adds random version numbers to CSS & JS assets to prevent browser caching getting in the way of your happiness.
Super Light Cache Buster also prevents page caching by using Cache-Control directives.
You can completely disable the plugin from the settings page when you are not using it or keep it enabled if the site is under development. 😀
Available Hooks
Cache Buster is becoming more developer friendly. Below you can find the plugin’s first hooks and details about them.
slcb_allow_in_backend

Filters whether Cache Buster should run (randomize asset version numbers) in the back end.
Return true to enable Cache Buster. false is the default.

slcb_version_name

Filters the version name for assets to allow using a custom version name (or number).
Return the version name e.g. you can use the value 2.0.1.
When this filter is in use, version numbers will not be randomized. Instead, you will have to change the version name manually to rename assets.
This filter overrides the “Version Name” setting in the dashboard.
The provided version name must be a valid query parameter. As a safety, if the provided string breaks any URLs, it will not be used.

Feedback

I am open for your suggestions and feedback – Thank you for using or trying out one of my plugins!
Drop me a line @mwale_and_sons on Twitter
Follow me on my LinkedIn page
Or visit me at my website.

各版本下載點

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

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


1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.2.0 | 1.3.0 | 1.4.0 | 1.4.1 | trunk |

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

  • Prevent Landscape Rotation 》這是一個輕量級的 WordPress 外掛程式,可以防止手機裝置發生橫向旋轉的情況,並顯示訊息!, 此外掛程式僅使用標準動作、過濾器以及 SweetAlert Js。, 如果您...。
  • NoFraud Protection for WooCommerce 》概觀, NoFraud 是一款全方位的防欺詐解決方案,結合人工智能驅動的多層次詐欺篩選技術及人工智慧,實時檢測並阻止詐騙訂單,消除退款申請,提高訂單批准率。...。
  • Profile & Dashboard fields [Modify/Disable/Remove] 》[ ✅ 𝐒𝐄𝐂𝐔𝐑𝐄 𝐏𝐋𝐔𝐆𝐈𝐍𝐒 由 Puvox 提供 ]:, , • 為了確保安全,更新了插件並修補了漏洞。, • 高效,不會增加網站的負載或減慢網站速度。, • 不會收集私人數...。
  • WP Simple SpamCheck 》這個外掛可以使用基於時間的雜湊阻擋超過95%的垃圾留言。, 這樣可以進行最少的檢查,幾乎可以刪除所有垃圾留言,而且不需要註冊到第三方API。, 這個外掛已經...。
  • Gravity Forms Prevent Duplicates 》這個 WordPress 外掛可以在使用者送出表單時,以停用提交按鈕的方式,有效避免表單重複提交的情況。
  • Prevent All Updates 》這個外掛可以刪除 WordPress 核心更新、外掛更新通知和主題更新通知。。
  • WooCommerce – Prevent Purchase 》這個外掛需要WooCommerce。它允許網站擁有者通過啟用複選框來防止購買產品。此外,它還允許您基於每個產品覆蓋消息。當您想讓客戶知道產品僅在店內提供,但仍...。
  • No Copy 》No Copy 外掛程式是一個上傳並啟用的外掛程式,它可以防止訪客在您的部落格上使用右鍵點擊來開啟內容選單。這應該可以防止多數使用者進行抄襲。不過,仍然有...。
  • Prevent Pages From Deleting 》防止頁面刪除是一個簡單的 WordPress 外掛程式,讓您能夠選擇性地防止使用者刪除某些頁面。。
  • WP Prevent CSS Cache 》這個 WordPress 外掛可以在開發期間防止瀏覽器對主要樣式表進行緩存。當您有客戶或其他人查看您的作品,您不想一直解釋他們需要清空瀏覽器緩存時,這非常實用...。
  • Spam Prevention for Contact Form 7 and Comments 》這個 WordPress 外掛為 WP Contact Form 7 和 WordPress 評論功能提供垃圾郵件防護。, 此外掛會加入一小段程式碼以判斷頁面捲動,在動態生成唯一的 token。, ...。
  • Prevent Read More Scroll 》根據 WordPress 文件,預設情況下,點擊 .more-link 鏈結會開啟網頁文件並捲動到包含命名錨點(#more-XXX)的文件部分。這個部分是作者在文章類別中選擇放置...。
  • LCS Image Nolink 》預設情況下,WordPress 文章中的所有圖像都會連結到自身。當使用者看到連結時,他們會點擊連結,圖片也會無緣無故地顯示出來。這有幾個缺點:, , 這對 SEO 不...。
  • Hsoub CAPTCHA 》一個基於 Hsoub API 的簡單評論驗證保護 WordPress 外掛(支援阿拉伯文和英文)。, 關於這款外掛, 這個外掛使用了優秀的 Hsoub API,是 web2dev 的一個概念。。
  • Prevent Indexing on Non-Live Sites 》外掛概述:, 此WordPress外掛可確保若網站的URL與提供的實時URL不符,則會自動關閉搜尋引擎索引。特別適用於開發和暫存環境,在這些情況下,您可能不希望內容...。

文章
Filter
Apply Filters
Mastodon