• Biranit

    (@biranit)


    Hi Donncha,

    Hope you are well.

    I have a (hopefully) quick question: at what conditions are WP-Cache (not Supercache) files created, and is there any way to avoid it?

    The reason I ask is that I’m using Preload mode. I have 75,402 cached pages in WP-Super-Cache right now. But in WP-Cache I have a few hundreds, and although most of them are ‘expired’, then are never purged – unless I go to the WPSC settings page and press “delete expired” under the “Content” tab.

    This causes us a few problems: we purge category/tag pages (for example) whenever a post associated with that category or tag page is updated. But if the page is in WP-Cache, then the function that we run on save_post –

    prune_super_cache ( get_supercache_dir() . '/' . $cat->slug . '/', true );

    – has no effect, and it is not deleted.

    Any suggestions?

    Thank you,

    Bira

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Donncha O Caoimh (a11n)

    (@donncha)

    You could run the debug log, and limit it to interactions made by your server IP so it’ll catch actions made by the garbage collector.

    Thread Starter Biranit

    (@biranit)

    Hi Donncha,

    I’m afraid there is no garbage collector – I use preload mode.

    Any idea what to do, other than adding a manual crontab that deletes the expired files every hour or so?

    Thanks,

    Bira

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-Cache files’ is closed to new replies.