WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Not Cached with APC (9 posts)

  1. Using the Dev version (as of last night ;) ).

    WordPress 3.0, MultiSite, with BuddyPress 1.2.6 (I think? Whatever came out a couple days ago).

    Compatibility Test Info:

    Server Modules & Resources:

    PHP Version: 5.2.13
    PHP Timezone: OK
    Web Server: Apache
    FTP functions: OK
    cURL extension: OK
    zlib extension: OK
    Opcode cache: APC
    Memcache extension: OK
    Mime type detection: Not installed
    Hash function: hash
    Safe mode: Off
    Open basedir: On:
    zlib output compression: Off
    mod_mime: OK
    mod_expires: OK
    mod_deflate / mod_gzip: OK
    mod_headers: OK
    mod_env: OK
    mod_setenvif: OK
    mod_rewrite: OK

    WordPress Resources

    /wp-content: Not write-able (note: it's set to 755)
    /.htaccess Write-able

    Uploads directory: Write-able
    WP_CACHE define: OK
    Fancy permalinks: OK
    Network mode: On
    VHOST mode: Off

    I get this from debug mode, however, which tells me that it's NOT being cached:

    <!-- W3 Total Cache: Page cache debug info:
    Engine:             apc
    Key:                XXXXX
    Caching:            enabled
    Status:             not cached
    Creation Time:      0.156s
    Header info:
    Set-Cookie:         bp-message-type=deleted; expires=Wed, 08-Jul-2009 15:14:57 GMT; path=/
    Last-Modified:      Thu, 08 Jul 2010 15:14:58 GMT
    Vary:               Accept-Encoding, Cookie
    Expires:            Thu, 08 Jul 2010 16:14:58 GMT
    Pragma:             public
    Cache-Control:      public, must-revalidate, proxy-revalidate
    Etag:               XXXXX
    X-Powered-By:       W3 Total Cache/0.9
    Content-Encoding:   gzip
    X-Pingback:         http://jorjafox.net/xmlrpc.php
    Content-Type:       text/html; charset=UTF-8
    -->

    I made sure to test on a cache-flushed browser (chrome and firefox) where I'm not logged in. I'm on a VPS so I can install whatnot and make changes as needed.

  2. Hrm. Reading up on this...

    You said here: http://wordpress.org/support/topic/367210?replies=12#post-1422791

    [...] Debug mode pages are actually not cached [...]

    So ... if I have debug on, it won't cache anything? That makes sense, truthfully, but hard to determine it caching really is working.

  3. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Debug mode is not intended to be left on permanently, there are limitations.

  4. Right, which is why I said 'it makes sense' :) But how do I know that it's caching then?

  5. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    The point is sometimes when debug mode pages are on there can be more cache misses because debug data has to be generated. You can always look on the file system or in the opcode cache control panel to see if objects are being created.

  6. You can always look on the file system or in the opcode cache control panel to see if objects are being created.

    Aha. Opcode Cache CP is my answer :)

  7. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Statistics etc will be added in v1.0.

  8. Righteous :)

  9. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Hehe.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic