O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Health check page

One drawback of what we have outlined here is that these tests execute during every WordPress page request. If you have written a long series of tests, they may incur some significant overhead and they can really slow down your site performance. One option is to move all your tests into a separate file that you must navigate to directly.

Perhaps you have heard of a "health check" page—all it does is run a series of tests, and if everything looks good, it prints out an "Ok" message. There are many different monitoring applications out there (for example, Nagios—http://nagios.org/) that can be configured to take quick looks at these health check pages and verify that they are seeing the "Ok" message. If a test hits a snag, it will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required