前言介紹
- 這款 WordPress 外掛「Auto Update Cache」是 2018-05-29 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2024-09-18,距離現在已有 231 天。
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
update js | update css | clear cache | Browser Caching | auto update cache |
內容簡介
您修改了CSS/JS檔案,但網站上卻沒有顯示出來?這個外掛將會幫得上忙。
Auto Update Cache 可讓您自動或手動一鍵更新所有CSS和JS檔案的版本。顯示最新的更改給使用者/觀眾。
它是怎樣運作的?
預設情況下,WordPress會在URL中使用查詢參數 \”ver\” 來載入資產(例如,style.css?ver=4.9.6)。這允許瀏覽器將這些檔案快取,直到WordPress核心升級到較新的版本為止。
為了防止CSS和JS檔案被快取,此外掛在所有使用wp_enqueue_style 和 wp_enqueue_script 函數載入的連結中添加了查詢參數 \”time\” ,並提供了美觀易用的控制面板(例如,style.css?ver=4.9.6&time=1526905286)。
原文外掛簡介
Made CSS/JS file changes but not showing on website? this plugin will help.
Auto Update Cache allows you to update the version of all CSS and JS files automatically or manually in one click. Show latest changes to the users/viewers.
How it works?
By default, WordPress loads assets using query param \”ver\” in the URL (e.g., style.css?ver=4.9.6). It allows browsers to cache this files until the WordPress core will not be upgraded to a newer version.
To prevent caching of CSS and JS files, this plugin adds query param \”time\” with beautiful easy to use dashboard panel (e.g., style.css?ver=4.9.6&time=1526905286) to all links, loaded using wp_enqueue_style and wp_enqueue_script functions.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Auto Update Cache」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Disable CSS JS Cache 》以下為總結:, , WordPress 內建快取機制,可有效減少網頁載入時間,提升網站效能,但有時也會導致過時的 CSS 或 JS 檔案被載入,導致網站顯示問題。此外掛提...。
Clear Cache Everywhere 》**總結:**, Clear Cache Everywhere允許管理員直接從WordPress管理員工具條中即時清除各種快取來源。這確保變更立即反映,而不需要等待快取過期。, , **問題...。
ClusterCS Clear Cache 》此外掛讓你可以直接從 WordPress 網站刪除NGINX快取,但是前提是你必須使用ClusterCS伺服器控制面板。, 也可以設定為在新增或編輯文章或頁面時自動清除快取,...。