[Plugin: DB Cache Reloaded Fix] Support for Not Caching as needed
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.
Edward L. Haletky
- The topic ‘[Plugin: DB Cache Reloaded Fix] Support for Not Caching as needed’ is closed to new replies.