Version Assets

描述

Automatically apply a content-based version on all of your assets to optimize browser caching.

屏幕截图

  • Diff of affected assets in head element (purple: before, green: after)
  • Diff of affected assets in footer scripts (purple: before, green: after)

安装

  1. Upload the plugin files to the /wp-content/plugins/version-assets/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress

评价

2020 年 11 月 5 日
Just what I was looking for! Useful If you are using a Child Theme which uses the parent theme’s Version instead of something like a hash or timestamp or file modification date
阅读所有1条评价

贡献者及开发者

「Version Assets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Version Assets」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.3 (2024-03-29)

  • Fixed a potential notice from core introduced in WP 5.8. See #9.

1.1.2 (2020-02-02)

  • Fixed a potential notice for script/style aliases which resolved to a local directory.

1.1.1 (2019-12-09)

  • Fixed version rewriting of core assets when WordPress is in its own directory.

1.1 (2019-03-30)

  • Introduce version_assets/asset_version filter.

1.0 (2017-09-18)

  • Initial release!