[WordPress] 外掛分享: CSS & JS Refresher

首頁外掛目錄 › CSS & JS Refresher
50+
安裝啟用
尚無評分
308 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2025-05-12

內容簡介

總結: CSS & JS Refresher 是一款 WordPress 外掛,通過防止快取問題,強制瀏覽器始終加載最新的 CSS 和 JavaScript 更改。它會在您的樣式表和腳本 URL 中添加一個緩存破壞性版本號,強制瀏覽器加載最新版本。
問題與答案:

1. 這個 WordPress 外掛的作用是什麼?
答: 當更新 CSS 和 JavaScript 時,這款外掛強制瀏覽器始終加載最新的變化,以避免快取問題。

2. CSS & JS Refresher 如何確保瀏覽器加載最新版本?
答: 透過在樣式表和腳本 URL 中添加緩存破壞性版本號,強制瀏覽器加載最新版本。

3. 這款外掛的特點有哪些?
答:
- 根據文件修改時間自動添加版本號到 CSS 和 JS URL。
- 在更新文章或頁面時清除快取。
- 兼容 WP Rocket、W3 Total Cache 和 LiteSpeed Cache 等熱門快取外掛。
- 包含管理員設置頁面。
- 完全支持翻譯。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CSS & JS Refresher」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

CSS & JS Refresher is a WordPress plugin that forces browsers to always load the latest CSS and JavaScript changes by preventing caching issues. It works by appending a cache-busting version number to your stylesheet and script URLs, forcing browsers to load the newest version.
Key Features:

Automatically appends version numbers to CSS & JS URLs based on file modification time.
Clears cache when posts or pages are updated.
Compatible with popular caching plugins like WP Rocket, W3 Total Cache, and LiteSpeed Cache.
Includes an admin settings page.
Fully translation-ready.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon