WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Post not caching (11 posts)

  1. Aaron D. Campbell
    Member
    Posted 5 years ago #

    I've never used it, so I'm thinking that I must have missed a setting. Here is my config: http://paste2.org/p/66093 and this page never seems to cache: http://webdevnews.net/2008/08/acquia-gets-ready-for-release-of-carbon-commercially-supported-drupal/

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    That's bizarre, your config looks fine. You could try debugging wp_cache_ob_callback() in wp-cache-phase2.php with error_log() statements to figure out where the caching stops.

  3. Aaron D. Campbell
    Member
    Posted 5 years ago #

    Here is what I'm getting just before the conditional on line 167:
    $new_cache: true
    $file_expired: false
    $mtime: 1219846211
    (time() - $mtime): 546

    So that entire conditional is skipped. Any ideas?

  4. Aaron D. Campbell
    Member
    Posted 5 years ago #

    I just upgraded to the latest version (0.7.1) and it's still not working.

  5. solidnuts
    Member
    Posted 5 years ago #

    I think i'm having the same issue, how do i know if wp-super cache is working? I don't see my url ending with .html..

    anyidea on how to make sure?

  6. Aaron D. Campbell
    Member
    Posted 5 years ago #

    solidnuts: when you are NOT logged in, view the source on a page or post on your site and look at the very end. It adds some HTML comments to let you know what it's doing.

  7. solidnuts
    Member
    Posted 5 years ago #

    Thanks for the reply.

    I checked and all i found was

    </body>
    </html>

    <!-- Dynamic Page Served (once) in 0.289 seconds -->

  8. Aaron D. Campbell
    Member
    Posted 5 years ago #

    Same problem as me. It's not caching, it's serving the dynamic page over and over. Do you have a link to where this is happening? Can you get me a list of the plugins you use?

  9. Aaron D. Campbell
    Member
    Posted 5 years ago #

    I disabled WP Google Analytics and it seems to be working. Unfortunately, this is my plugin and I don't have time to sort out the conflict right now. Does anyone have any idea what it might be?

  10. Donncha O Caoimh
    Member
    Posted 5 years ago #

    aaroncampbell - the only thing I can see from your plugin that might cause a problem is that you use output buffering. I see an ob_start() but no ob_end_flush(), That's probably it ..

  11. Aaron D. Campbell
    Member
    Posted 5 years ago #

    donncha: I tried turning that part off (that's only if it parses links to add code to external ones), and it still didn't work. I'll try to play with it at some point and figure it out.

Topic Closed

This topic has been closed to new replies.

About this Topic