WordPress.org

Support

Support » Plugins and Hacks » Caching is or isn't working?

Caching is or isn't working?

  • leggo-my-eggo
    Member

    @leggo-my-eggo

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ron Rennick
    MultiSite Guru

    @wpmuguru

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

    leggo-my-eggo
    Member

    @leggo-my-eggo

    @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?

    Plugin Author Donncha O Caoimh
    Member

    @donncha

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

    leggo-my-eggo
    Member

    @leggo-my-eggo

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Caching is or isn't working?’ is closed to new replies.