這個外掛並未在最新的 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