WP Super Cache
Bug on Garbage Collection timer radio button (6 posts)

  1. rwhaun
    Posted 3 years ago #

    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"


  2. Trevor Gehman
    Posted 3 years ago #

    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.

  3. etchedinpixels
    Posted 3 years ago #

    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)
  4. Trevor Gehman
    Posted 2 years ago #

    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.

  5. etchedinpixels
    Posted 2 years ago #

    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?

  6. Trevor Gehman
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic