WordPress.org

Ready to get started?Download WordPress

Forums

DB Cache Reloaded Fix
Support for Not Caching as needed (1 post)

  1. Texiwill
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic