WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Garbage collector is not working (3 posts)

  1. leojonathanoh
    Member
    Posted 1 year ago #

    Garbage collector is not working in TIMER mode nor SCHEDULED mode. Tried leaving it to run automatically but return several days later to only find out that expired pages were not purged hourly. Setting timer mode does not work also.

    I've already set the following pages to not cache but they still are:
    pages, front pages, home pages, archives, tags, categories.

    I'm inclined to think there's some bug

    WordPress 3.5.1
    WP Super Cache Version 1.3.2
    WPtouch Version 1.9.41

    thanks for any help is greatly appreciated.

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

  2. Bill Dennen
    Member
    Posted 11 months ago #

    I'm seeing the same problem. Garbage Collector isn't working properly and expired pages are hanging around longer than they should.

  3. Bill Dennen
    Member
    Posted 11 months ago #

    Some more info:

    I turned on debugging and edited a page (/provost/staff/). Here is the output.

    It looks like site_url is incorrect.

    16:22:16 /provost/wp-admin/post.php get_current_url_supercache_dir: warning! site_url (https://somesite.com/provost) not found in permalink (http://somesite.com/provost/staff/).
    16:22:16 /provost/wp-admin/post.php get_current_url_supercache_dir: Removing SERVER_NAME (somesite.com) and https:// from permalink (http://somesite.com/provost/staff/). Is the url right?
    16:22:16 /provost/wp-admin/post.php supercache dir: /home/some/public_html/wp-content/cache/supercache/somesite.comhttp://provost/staff/
    16:22:16 /provost/wp-admin/post.php wp_cache_post_id_gc post_id: 16 http://somesite.com/provost/staff/ clearing cache in /home/some/public_html/wp-content/cache/supercache/somesite.comhttp://provost/staff/.
    16:22:16 /provost/wp-admin/post.php wp_cache_post_id_gc clearing cache in /home/some/public_html/wp-content/cache/supercache/somesite.comhttp://provost/staff//page/.
    16:22:16 /provost/wp-admin/post.php wp_cache_post_id_gc clearing cache in /home/some/public_html/wp-content/cache/supercache/somesite.com/provost//page/.
    16:22:16 /provost/wp-admin/post.php Post change: deleting cache files in /home/some/public_html/wp-content/cache/supercache/somesite.com/provost/
    16:22:16 /provost/wp-admin/post.php Post change: deleting page_on_front and page_for_posts pages.

    We run our backend behind SSL. But, not the front-end. I am not sure where site_url is set, aside from that. (Also, we're running multisite via subdirectory, and this is happening on all our subsites).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic