這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Version in Query String Modifier

外掛說明

Depending on your needs, this plugin is useful for:

  • updating the version value to an incrementing number (with a single click) for cache-busting purposes (this is the default value)
  • removing the version parameter for optimization purposes
  • option to disable modifying the url without disabling the plugin

The author have dealt with issues when the server is running ATS, Varnish or similar cache utility that the author has no control over. Sometimes cache files stick around for a while and users have no control over caching applications. If you want your css, javascript, image or other asset updates to be reflected instantly, this is the perfect solution for you.

The plugin has been tested extensively with WP_DEBUG enabled and works seamlessly with multi-site network setup.

For questions, suggestions or issues with this plugin, visit the plugin support page or contact me at wp [dot] joesat [at] gmail [dot ]com.

螢幕擷圖

  • WP Version Modifier Settings Page
  • WP Version Modifier Location in the sidebar

安裝方式

  1. Upload ‘wp-version-in-query-string-modifier’ folder to ‘/wp-content/plugins/’ directory

  2. Activate the plugin through ‘Plugins’ menu in WordPress Admin

  3. You’re good to go! Verify static resources’ URI via your web page’s sourc code

  4. (optional) Select your preference via the Settings page (/wp-admin/options-general.php?page=wpvqsm_)

常見問題集

  • Does this plugin work with multi-site setup?
    Yes.

  • Was did plugin tested with debug option enabled?
    Yes.

  • Where is the admin page located?
    In the admin panel, go to Settings -> WP Version Modifier.

  • Why is the default value for cache buster option set to 007?
    007 is an iconic and significant number – James Bond’s callsign.

使用者評論

2018 年 9 月 17 日
perfect for development purpose, searched a lot for something similar after seeing in webpack.js having something to control client-side cache. cheers!
2017 年 1 月 19 日
I'm using this for quite some time and realized I never gave you a well deserved 5 stars, so here they are 🙂 Thank you for this great plugin, does what I need it to do and does it great! If you accept donations, let me know. Thanks!
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Version in Query String Modifier〉的開發相關工作。

參與者

變更記錄

1.0.0.7

  • can now generate unique string via time() value appended in the ver query string. Please note that enabling this option may have performance setbacks. Use accordingly.

1.0.0.6

  • now really working for multisite install 🙂

1.0.0.5

  • yet another update to readme.txt

1.0.0.4

  • updated readme.txt
  • removed unused contant WPVQSM_LONG_NAME

1.0.0.3

  • updated plugin screenshots – again (this is my first plugin and am still learning)

1.0.0.2

  • updated plugin screenshots

1.0.0.1

  • updated readme to include more info and corrected typos

1.0.0.0

  • First release