Search
  • Software 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
  • 2
    Shares
Updated: 2018-05-12T19:01:43+00:00

Leave a Comment

Required fields are marked *.


This site uses Akismet to reduce spam. Learn how your comment data is processed.