Support » Plugin: WP Super Cache » Bug on Garbage Collection timer radio button

  • rwhaun


    There is a bug that changes the Garbage Collection settings when you change other settings on the page. If you have your Garbage Collection timer set and then change the exclusion strings or Rejected URIs and click “Save Strings” it will reset your Garbage Collection scheduler to “Clock” instead of “Timer”.

    Duplicate by doing the following:

    1. set Garbage Collection Cache Timeout
    2. select Garbage Collection Scheduler “Timer” radio button and enter a seconds value
    3. click “Change Expiration” button
    4. verify settings were saved
    5. check one of the rejected URI boxes
    6. click the “Save” button under those checkboxes
    7. Garbage warning will now appear and the Collection Scheduler will be rest to “Clock”

    This can also be duplicated by clicking the “Save Strings” button which will reset the Collection Scheduler to “Clock”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Trevor Gehman


    Yes I am having the same issue, and have been for several versions of hte plugin… I can’t believe this isn’t reported by more people.

    I’ve had this problem too. It’s quite terrible and I can’t believe it hasn’t been caught already. At first I thought I was going crazy… my page was never updating itself. Then I realized that GC wasn’t occurring.

    I can confirm that it resets itself when changing

      Rejected User Agents
      304 Not Modified browser caching
      Caching Method (from Mod_rewrite to PHP)

    Unfortunately, I now have switched over to Quick Cache due to this persistent and unacknowledged bug in WP Super Cache.

    I’m slowly migrating all my and my client’s sites as well.

    I’d like to know if there’s any benefit to the cache plugins if I’m already using Jetpack Photon to serve auto-sized images using the WP servers.

    Does anyone know what the benefits really are?

    I’ve found the error inside the plugin in file wp-cache.php:

    } elseif ( $valid_nonce ) { // clock

    That line should be:

    } elseif ( $valid_nonce && $_POST[ 'cache_schedule_type' ] == 'time' ) { // clock

    I can confirm that changing this line fixes the issue. I’m going to create a new thread for this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug on Garbage Collection timer radio button’ is closed to new replies.