Forums

WP Super Cache
Everything configured for supercache, but only legacy caching working (5 posts)

  1. jfw
    Member
    Posted 4 months ago #

    I've got legacy caching working fine, but I'm trying to get supercaching working and I'm hitting a wall. I definitely need to get it working, as my client's website is going to be featured on NPR in a few days.

    I've copied and pasted the .htaccess rules exactly as listed, but I always get this message in the advanced config: "A difference between the rules in your .htaccess file and the plugin rewrite rules has been found. This could be simple whitespace differences but you should compare the rules in the file with those below as soon as possible. Click the ’Update Mod_Rewrite Rules’ button to update the rules."

    Directories in wp-content/cache/supercache get created (I can watch them show up as people hit the site), but no files get created. Here's some sample log output:

    08:17:36 /category/marriage-equality/thoughtsaction/ supercache dir: /var/www/sites/ANONYMIZED/www/wp-content/cache/supercache/ANONYMIZED/category/marriage-equality/thoughtsaction/
    08:17:36 /category/marriage-equality/thoughtsaction/ serving?
    08:17:36 /category/marriage-equality/thoughtsaction/ No wp-cache file exists. Must generate a new one.
    08:17:36 /category/marriage-equality/thoughtsaction/ In WP Cache Phase 2
    08:17:36 /category/marriage-equality/thoughtsaction/ Setting up WordPress actions
    08:17:36 /category/marriage-equality/thoughtsaction/ Created output buffer
    08:17:36 /category/marriage-equality/thoughtsaction/ Output buffer callback
    08:17:36 /category/marriage-equality/thoughtsaction/ Writing non-gzipped buffer to wp-cache cache file.
    08:17:36 /category/marriage-equality/thoughtsaction/ Renamed temp wp-cache file to /var/www/sites/ANONYMIZED/www/wp-content/cache/wp-cache-acebf92a2683fde999b7590444b4f81f.html
    08:17:36 /category/marriage-equality/thoughtsaction/ Sending buffer to browser
    08:17:36 /category/marriage-equality/thoughtsaction/ wp_cache_shutdown_callback: collecting meta data.
    08:17:36 /category/marriage-equality/thoughtsaction/ Writing meta file: /var/www/sites/ANONYMIZED/www/wp-content/cache/meta/wp-cache-acebf92a2683fde999b7590444b4f81f.meta

    I've followed everything in the troubleshooting guide, but to no avail. The only other thing I can think of is that I've got the WordPress files served out of a subdir (/wp), but that's never been a problem in the past (I had an earlier version of SC running with this site on a different server.)

    Thoughts?

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

  2. jfw
    Member
    Posted 4 months ago #

    And feel free to ask for more info--I'm getting sleepy, so I probably forgot some things :)

  3. Pothi Kalimuthu
    Member
    Posted 4 months ago #

    Is your .htaccess file readable by group/others?

    If you are unsure about the permissions, install a plugin that reads .htaccess file such as "WP Htaccess Editor" and check, if that plugin can actually read what you wrote manually. Please don't use this plugin to write to .htaccess. As the plugin author mentions "This plugin should be used only by experienced users!"

  4. jfw
    Member
    Posted 4 months ago #

    Yes, it's definitely readable by everyone. The WP-specific rules work, as do some PHP ini settings I put in there. And even SC is detecting that the rules are there, just that they're somehow "different".

  5. Pothi Kalimuthu
    Member
    Posted 4 months ago #

    Okay, try setting 777 to .htaccess file and click "Update Mod_Rewrite Rules". Does it make any difference?

    Please try the same method with both .htaccess files (one in root directory, another in sub-directory)

    Please make sure to revert the permissions after trying this step.

Reply

You must log in to post.

About this Plugin

About this Topic