Search
  • Sotware by
  • Christoph Amthor
Search Menu

Redirect URL to Post, Version 0.8: Caching

This release of the Redirect URL to Post plugin adds optional caching. The benefit of caching is increased speed and reduced burden on the database engine, particularly when using complicated query parameters or “random” on a huge number of posts.

1. In the URL

Add the parameter “&cache=600” to the URL. The number is the cache lifetime in seconds.

2. In wp-config.php

define('CHATTY_MANGO_RUTP_CACHE', 600 );

If you have debugging enabled, you will also notice some useful messages in the logs.

 

Photo by fabbio

Share
  • 1
    Share

Leave a Comment

Required fields are marked *.