內容簡介
總結: 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 等熱門快取外掛。
- 包含管理員設置頁面。
- 完全支持翻譯。
外掛標籤
開發者團隊
原文外掛簡介
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.
