Forums

WP Super Cache
Created output buffer / Output buffer callback - Lag? (1 post)

  1. warpdag
    Member
    Posted 5 months ago #

    Hi - WP Super Cache works fine and does a great job at caching my files, so thanks for that. However the plugin seems to take ages to create actual cached versions of my posts the first time they are called. Looks like there's a large lag time between the 'Created output buffer' and 'Output buffer callback' steps, and I can't explain why. Could you explain what is the plugin doing between these steps? Will try to parse the php and see what's going on, but pointers would help. Also note that when WP Super Cache is disabled, WP takes about 1 to 2 seconds to generate the same page, while super cache takes at least 6 seconds to generate its copy the first time the page is called.

    Thanks.

    David

    Debug output below (called a random page to illustrate the issue)

    <!-- Dynamic page generated in 5.908 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2011-12-16 13:32:55 -->
    <!-- Compression = gzip -->

    19:32:49 /page/45/ supercache dir: /home/mydir/public_html/wp-content/cache/supercache/www.mysite.com/page/45/
    19:32:49 /page/45/ No wp-cache file exists. Must generate a new one.
    19:32:49 /page/45/ In WP Cache Phase 2
    19:32:49 /page/45/ Setting up WordPress actions
    19:32:49 /page/45/ Created output buffer
    19:32:55 /page/45/ Output buffer callback
    19:32:55 /page/45/ Anonymous user detected. Only creating Supercache file.
    19:32:55 /page/45/ Gzipping buffer.
    19:32:55 /page/45/ Writing non-gzipped buffer to supercache file.
    19:32:55 /page/45/ Writing gzipped buffer to supercache file.
    19:32:55 /page/45/ Renamed temp supercache file to /home/mydir/public_html/wp-content/cache/supercache/www.mysite.com/page/45/index.html
    19:32:55 /page/45/ Renamed temp supercache gz file to /home/mydir/public_html/wp-content/cache/supercache/www.mysite.com/page/45/index.html.gz
    19:32:55 /page/45/ Writing gzip content headers. Sending buffer to browser
    19:32:55 /page/45/ wp_cache_shutdown_callback: collecting meta data.

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

Reply

You must log in to post.

About this Plugin

About this Topic