The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Super Cache
Caching is or isn't working? (5 posts)

  1. leggo-my-eggo
    Posted 5 years ago #

    OK, so I'm using a multi-site installation with Donncha's Domain Mapping plugin.

    When I load a page, at the bottom I get:

    <!-- Dynamic page generated in 0.357 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2011-05-12 17:55:50 -->
    <!-- Compression = gzip -->

    And then if I reload it, I get exactly the same thing. Same timestamp.

    Which leads me to believe that it IS being cached, except that it gives me the Dynamic Page bit again.

    And on the admin Contents tab it's telling me that there are 0 Cached Pages.

    My debug log lists:

    21:50:11 /?dm=0b9d0a2f603388460a518a356ffe0229&action=load&blogid=61&siteid=1&t=1844648596&back=http://mypermalink.com/yadayada Buffer is blank. Output buffer may have been corrupted by another plugin or this is a redirected URL. Look for text 'ob_start' in the files of your plugins directory.
    21:50:11 /?dm=0b9d0a2f603388460a518a356ffe0229&action=load&blogid=61&siteid=1&t=1844648596&back=http://mypermalink.com/yadayada No closing html tag. Not caching.
    21:50:11 /?dm=0b9d0a2f603388460a518a356ffe0229&action=load&blogid=61&siteid=1&t=1844648596&back=http://mypermalink.com/yadayada wp_cache_shutdown_callback: collecting meta data.

    Which, well, confuses me.

    I've looked in my plugins for ob_start and while I do have some plugins using it, the same problem happens with all plugins disabled and using the Twenty Ten theme.

    Oh, and files and directories are being created in my wp-content/cache/supercache directory.

    What am I doing wrong?

  2. Ron Rennick
    MultiSite Guru
    Posted 5 years ago #

    <!-- Dynamic page generated in 0.357 seconds. -->

    The time taken to generate the page is inserted into the cached version of the page so you will see that every time you view the cached version.

  3. leggo-my-eggo
    Posted 5 years ago #

    @Ron, OK, thank you, so that would mean that it is serving the cached pages.

    So, the questions is, why doesn't WP Super Cache know that there are cached pages on it's Content tab? And are those errors relevant?

  4. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    Did you click the "Regenerate stats" link on the Contents page? That recalculates the number of pages.

  5. leggo-my-eggo
    Posted 5 years ago #

    I did. It seems to recalculate, but I always end up with 0 pages cached.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic