跳到内容

Manage/Remove version number from CSS & JS

v1.0.2

Chetan Vaghela · 2022年11月10日 上架

Manage, remove, or replace CSS and JavaScript version numbers with file modified timestamps for better cache management.

正在使用
100+
评分
5.0 / 5
累计下载
3,451
最近更新
2026年7月6日
1 条评价需要 WordPress 6.2.2+已测试到 7.0.9PHP 7.2+

贡献者

截图

Plugin settings page.
Plugin settings page.
CSS and JavaScript files with version numbers removed.
CSS and JavaScript files with version numbers removed.
CSS and JavaScript files using the file modified timestamp as the version number.
CSS and JavaScript files using the file modified timestamp as the version number.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums