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

VersionIt

描述

Removes default version query strings from CSS/JS resources, appends the modified time to the filename, and creates the necessary .htaccess rewrites automagically.

What’s the benefit for you?

When pushing up new versions of your files, you never have to worry about users seeing older versions of your site stuck in their cache! A simple helper plugin, yet crucial to keeping your sanity.

安裝

  1. Upload the versionit folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

I activated the plugin. Now what?

Visit your site and view the source – you should see your CSS/JS resources changed from http://YOURSITE.COM/wp-content/plugins/YOURPLUGIN/css/style.css?ver=3.4.2 to something like http://YOURSITE.COM/wp-content/plugins/YOURPLUGIN/css/style.1347022625.css

When I activate the plugin, I see the error, “Please make sure your .htaccess file is writable”

This means that either you have not saved your permalinks from the default config, or you have a permissions issue. Your host can help you with the latter.

None of my CSS/JS are loading!

Please see previous question.

Can you add `feature-x`?

Sure! I’m always open to knew ideas. Just create a new issue and I’ll take a gander.

評價

There are no reviews for this plugin.

貢獻者及開發者

“VersionIt” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 VersionIt 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Tested in 3.8
  • This puppy should be ready to go! Now considered feature-complete.

0.1

  • Initial release