Support » Plugin: DB Cache Reloaded Fix » [Plugin: DB Cache Reloaded Fix] Support for Not Caching as needed

  • Hello,

    Sometimes you just cannot have anything cache, specifically when dealing with forum software. So I added the following to my copy of db-cache-reloaded-fix.

    diff -b db-module.php db-module.php.new
    233a234
    > 				( defined( 'DONOTCACHE' ) && DONOTCACHE ) ||
    236a238
    > 				strpos( $_SERVER['REQUEST_URI'], 'mingleforum' ) ||

    The first responds to the DONOTCACHE setting and the second is specific support for the Mingle Forum plugin. Perhaps an action can be added to this section of the code to allow other plugins to overide the ‘cacheable’ setting based on location within the site. Just a thought, this was quick and useful.

    Best regards,
    Edward L. Haletky

    http://wordpress.org/extend/plugins/db-cache-reloaded-fix/

  • The topic ‘[Plugin: DB Cache Reloaded Fix] Support for Not Caching as needed’ is closed to new replies.