该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“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