Optimize Syndication Frequenzy

WordPress-Christmas-20Today a standard becomes 9 years old. But hardly ever noticed: The Syndication-Module 1.4.1 of RDF Site Summary 1.0.

What is it good for?

Apparently some of you publishing posts less than 10 times per day. Shame on you ... not!
WordPress, however, assumes that you can not even stop, so write it in the RSS feed:

<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>

In plain English: Every feed reader should check once an hour, if you finally wrote something again.

Anyone who wants to relieve his server from such a thing, can change that. In the functions.php you write this two lines:

add_filter( 'rss_update_period',    create_function( '', 'return "daily";' ) );
add_filter( 'rss_update_frequency', create_function( '', 'return 4;' ) );

A few feed reader keep it by that but other don't. But even if there is only one: You've saved a few resources that you can use somewhere else.

Guest Post

This post is written by Thomas Scholz - toscho.de and is a post in our Advent Calendar on WP Engineer about WordPress.
Thank you very much from my part to Thomas.
If you also like to have your interesting post published on our website, please let us know on our contact page. Of course we will appreciate your contribution!

Comments are closed.

One comment

  1. Rober

    Gracias por esa informacion, tenia un problema de sobrecarga en los procesos del server y este post me ayudo a solucionar parte del problema.

    Thank you , they had a problem of overloading and this post helped me resolve the problem.