Plugin Directory

Changeset 1456175 for simple-cache


Ignore:
Timestamp:
07/18/2016 03:32:32 AM (9 years ago)
Author:
tlovett1
Message:

Version 1.5.5

Location:
simple-cache
Files:
29 added
5 edited

Legend:

Unmodified
Added
Removed
  • simple-cache/trunk/inc/class-sc-object-cache.php

    r1403511 r1456175  
    9393            "\n\r" . "defined( 'ABSPATH' ) || exit;" .
    9494            "\n\r" . "define( 'SC_OBJECT_CACHE', true );" .
    95             "\n\r" . 'if ( is_admin() ) { return; }' .
    9695            "\n\r" . "if ( ! @file_exists( WP_CONTENT_DIR . '/sc-config/config-' . \$_SERVER['HTTP_HOST'] . '.php' ) ) { return; }" .
    9796            "\n\r" . "\$GLOBALS['sc_config'] = include( WP_CONTENT_DIR . '/sc-config/config-' . \$_SERVER['HTTP_HOST'] . '.php' );" .
  • simple-cache/trunk/inc/dropins/batcache.php

    r1422847 r1456175  
    5555    var $remote  = 0; // Zero disables sending buffers to remote datacenters (req/sec is never sent)
    5656
    57     var $times   = 1; // Only batcache a page after it is accessed this many times... (two or more)
     57    var $times   = 2; // Only batcache a page after it is accessed this many times... (two or more)
    5858    var $seconds = 120; // ...in this many seconds (zero to ignore this and use batcache immediately)
    5959
  • simple-cache/trunk/inc/dropins/memcached-object-cache.php

    r1397513 r1456175  
    218218
    219219    function flush() {
    220 
    221         // Don't flush if multi-blog.
    222         if ( function_exists( 'is_site_admin' ) || defined( 'CUSTOM_USER_TABLE' ) && defined( 'CUSTOM_USER_META_TABLE' ) ) {
    223             return true;
    224         }
    225 
    226220        $ret = true;
    227221        foreach ( array_keys( $this->mc ) as $group ) {
  • simple-cache/trunk/readme.txt

    r1454479 r1456175  
    3737
    3838== Changelog ==
     39
     40= 1.5.5 =
     41* __Fix Memcache cache purging with the following:__
     42* Allow Memcache flushing in multisite
     43* Include object cache within the admin
     44* Only batcache when a URL is accessed 2 times
    3945
    4046= 1.5.4 =
  • simple-cache/trunk/simple-cache.php

    r1454479 r1456175  
    55 * Description: A simple caching plugin that just works.
    66 * Author: Taylor Lovett
    7  * Version: 1.5.4
     7 * Version: 1.5.5
    88 * Text Domain: simple-cache
    99 * Domain Path: /languages
     
    1313defined( 'ABSPATH' ) || exit;
    1414
    15 define( 'SC_VERSION', '1.5.4' );
     15define( 'SC_VERSION', '1.5.5' );
    1616
    1717require_once dirname( __FILE__ ) . '/inc/functions.php';
Note: See TracChangeset for help on using the changeset viewer.