Forums

W3 Total Cache: Database queries "not cached" (6 posts)

  1. jorisw
    Member
    Posted 1 year ago #

    Hi,

    W3 Total Cache seems awesome. But in Debug Mode, I'm seeing that most queries keep coming up "not cached". I have Database disk caching enabled, and this problem occurs on every page. Did I forget something?

    I am not logged in and I've taken index\.php out of the page caching exceptions.

  2. jorisw
    Member
    Posted 1 year ago #

    WordPress 3.0.1 and version of W3 Total Cache as downloaded today, by the way.

  3. Chris Olbekson
    Member
    Posted 1 year ago #

    Make sure your logged out of WordPress or use an alternate browser with freshly cleared cache and check again.

    Also normally not a great idea to cache db to disk.

  4. jorisw
    Member
    Posted 1 year ago #

    I'm sure disk isn't the fastest way to cache database queries, but surely there is some benefit to it? My pages make a lot of queries (most of which is beyond my control), and so does WordPress in general.

  5. Chris Olbekson
    Member
    Posted 1 year ago #

    If your pages make a lot of queries then caching database to disk will actually slow your site down.

    My pages make a lot of queries (most of which is beyond my control), and so does WordPress in general.

    A well written theme without a bunch of plugins will only make around 15 to 20 queries per page. Some themes and plugins will increase the number to 200 to 300.

  6. Frederick Townes
    Member
    Posted 1 year ago #

    @jorisw, as usual @c3mdigital is right. The option is available because it's valuable in some cases.

Topic Closed

This topic has been closed to new replies.

About this Topic