[WordPress] 外掛分享: Manage/Remove version number from CSS & JS

首頁外掛目錄 › Manage/Remove version number from CSS & JS
WordPress 外掛 Manage/Remove version number from CSS & JS 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
26 天前
最後更新
問題解決
WordPress 6.2.2+ PHP 7.2+ v1.0.2 上架:2022-11-09

內容簡介

這個外掛可以讓你管理或移除 CSS 和 JS 檔案的版本號。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Manage/Remove version number from CSS & JS」→ 直接安裝(推薦)

原文外掛簡介

Manage/Remove Version Number from CSS & JS gives you full control over the version numbers appended to your website’s CSS and JavaScript files.
By default, WordPress appends a version query string (for example, ?ver=6.8) to enqueued CSS and JavaScript files. Depending on your caching strategy, you may want to remove these version numbers or replace them with the file’s last modified timestamp for better cache invalidation.
This lightweight plugin provides simple configuration options without requiring any code changes.
Features

Remove version numbers from CSS and JavaScript files.
Replace version numbers with the file’s last modified timestamp.
Keep the default WordPress version numbers if preferred.
Improve browser cache management.
Lightweight and easy to configure.
Compatible with most WordPress themes and plugins.

Available Options

Keep the default WordPress version number.
Remove version numbers completely.
Use the file’s last modified timestamp as the version number.

Use Cases

Improve browser caching.
Enable automatic cache busting after file updates.
Remove WordPress version numbers from frontend assets.
Improve website performance and cache efficiency.
Simplify asset version management.

延伸相關外掛

文章
Filter
Mastodon