• Resolved chrishecker

    (@chrishecker)


    I just upgraded w3tc to 0.9.2.4 and wordpress to 3.3.1, and w3tc is creating pgcache directories and files. Page caching is disabled. I’ve toggled it, cleared the cache when it’s enabled (which deletes the pgcache files), and looked for any new setting that might be affecting things. I guess I’ll try to debug it next.

    Any ideas? I use w3tc for its CDN support, not for any page caching, so I don’t want it creating the files and directories, which screws with my version control on the website directories.

    Thanks,
    Chris

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chrishecker

    (@chrishecker)

    Here’s the diff that fixes it. Not sure why that pgcache.enabled check was taken out of process(), but this disables it correctly.

    Chris

    === modified file 'wp-content/plugins/w3-total-cache/lib/W3/PgCache.php'
    --- wp-content/plugins/w3-total-cache/lib/W3/PgCache.php        2012-03-15 18:54:42 +0000
    +++ wp-content/plugins/w3-total-cache/lib/W3/PgCache.php        2012-03-15 21:49:43 +0000
    @@ -134,6 +134,10 @@
          * Do cache logic
          */
         function process() {
    +        if(!$this->_config->get_string('pgcache.enabled')) {
    +            return;
    +        }
    +
             /**
              * Skip caching for some pages
              */
    Plugin Contributor Frederick Townes

    (@fredericktownes)

    Thanks for that. Will check it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: W3 Total Cache] page cache disabled but still creating pgcache files?’ is closed to new replies.