• Just moved our blog to a new server and upgraded wp to 3.3.1 and the latest version of super cache. Using mod rewrite and everything seemed to work fine with no errors from super cache.

    On checking in FTP I can the expected wp-content/cache/supercache/mydomain folder and everything ok in there. But there is also wp-content/cache/blogs which is getting full of cached pages as well. These files don’t seem to be getting deleted and are just building up. I read that blogs folder is used when using MU but this site is not MU (turned off in wp-config). Any ideas what might be going on?

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Try the dev version, that should fix this problem.

    http://downloads.wordpress.org/plugin/wp-super-cache.zip

    Thread Starter joesamcoke

    (@joesamcoke)

    Thanks. Should I deactivate/uninstall the current version completely before reinsatlling the dev version or just overwrite the plugin files?

    Just overwrite the current files.

    Thread Starter joesamcoke

    (@joesamcoke)

    Thanks again for your help. I overwrote with dev verion files and updated the htaccess and unfortunately cached files are still being added to the blogs directory. Should I delete the blogs directory entirely? Any other ideas?

    Those are legacy cached files. You can disable caching for known users on the settings page which will get rid of most of them but feed urls are still cached in this way.

    Thread Starter joesamcoke

    (@joesamcoke)

    I have caching for known users disabled already. I just renamed the blogs directory to blogs2 and it just recreated the blogs directory and started adding cached files. Is there any way to turn off legacy caching completely in the code?

    Thread Starter joesamcoke

    (@joesamcoke)

    can I set $cache_enabled = true; to false? I don’t wish to cache feeds.

    No, you could disable that caching on the settings page. Search for “is_feed” on the advanced settings page.

    Thread Starter joesamcoke

    (@joesamcoke)

    “is_feed” is already set to off. Still getting a constant build up of cached files in the blogs directory. Any other ideas? I did just notice on the asy tab of the settings page I have button “Delete Cache on all Blogs” Does that mean super cache thinks my site is MU?

    Thread Starter joesamcoke

    (@joesamcoke)

    Ok a wild stab in the dark here…

    Super cache now checks for multisite using..

    if ( defined( ‘VHOST’ ) || defined( ‘WP_ALLOW_MULTISITE’ ) ) {

    In old versions it used..

    if( defined( ‘VHOST’ ) ) {

    In my wp-config.php I have..

    define(‘WP_ALLOW_MULTISITE’, false);

    could this mean super cache thinks it’s defined even though it’s set to false?

    joesamcoke – good catch! I should check if that’s true *as well*

    I just fixed this, the dev version should update in the next 20 minutes.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP Super Cache] Unexpected blogs directory’ is closed to new replies.