该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Delay Cron

描述

The WP Delay Cron plugin will prevent wordpress from running its cron tool for every page view.
For high traffic sites, this can result in a considerable drop in server load.

安装

This section describes how to install the plugin and get it working.

e.g.

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

常见问题

Why wouldn’t you want to run the cron every page it?

WordPress makes a seperate web request to run the cron. For every page hit the server
has to process 2 web requests. This is wastefull and adds up on a high traffic site.

How long does it delay for?

Pick a number in the settings page. This will wait to run the cron until that many
page views occur. If you pick 10, then you will run the cron every 10 page views.

Does this work with multi site installs?

Yes. The options page will show up under each individual site, not in the network admin site.

评价

阅读所有4条评价

贡献者及开发者

“WP Delay Cron” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Delay Cron”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.0.6

Tested on latest wordpress – 4.5.1

0.0.5

Fix multi site bug

0.0.4

Bug Fixes

0.0.3

Bug Fixes

0.0.2

Store counter in wp options instead of a file

0.0.1

Initial Release.