WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rwhaun
    Member
    Posted 1 year 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"

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Trevor Gehman
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic