• 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.

    https://www.ads-software.com/extend/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I know this is an old post, but did you manage to get a solution? I’m having exactly the same problem, but my site is lagging for about 20 seconds.

    Thanks for your answer!

    Sorry, already found the solution.

    When reading this post I realized I had a widget checking the status of my Skype account to show the actual state on the website. After disabling this widget, the caching worked like a charm again.

    So check for any external resources used in your PHP which can slow down the process. Hope this helps someone in the future having the same problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Super Cache] Created output buffer / Output buffer callback – Lag?’ is closed to new replies.