Title: sqlwiz's Replies | WordPress.org

---

# sqlwiz

  [  ](https://wordpress.org/support/users/sqlwiz/)

 *   [Profile](https://wordpress.org/support/users/sqlwiz/)
 *   [Topics Started](https://wordpress.org/support/users/sqlwiz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sqlwiz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sqlwiz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sqlwiz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sqlwiz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sqlwiz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/sqlwiz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sqlwiz/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/sqlwiz/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] PageNavi integration with Posts 2 Posts](https://wordpress.org/support/topic/pagenavi-integration-with-posts-2-posts/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/pagenavi-integration-with-posts-2-posts/#post-2427981)
 * Yes – /slug/page/2/ becomes /slug/
 * No – `<!--nextpage-->` has the same issue.
 * I’d think your suggested approach would work fine with a page, but I need a single-
   post_type template in this case.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] PageNavi integration with Posts 2 Posts](https://wordpress.org/support/topic/pagenavi-integration-with-posts-2-posts/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/pagenavi-integration-with-posts-2-posts/#post-2427878)
 * That would be much better and simpler, if it worked in this situation.
 * I’d have to figure how to stop the url from being rewritten – “/page/2” is being
   stripped – maybe because is_single() is true?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Error on activation – upgrade from 1.0](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/#post-2427049)
 * Ah, I came back to mention WP-PageNavi and there’s a new release! I think I had
   an additional problem today in that W3TC object cache is enabled in the admin
   here due to some dashboard feeds that need to be cached. When I cleared cache
   after disabling WP-PageNavi tonight, I was able to install v1.1. Anyway on to
   v1.1.1.
 * By the way congrats on reaching the 1.0 milestone, even though that is now old
   news, it is the reason we are evaluating this very useful plugin.
 * Tomorrow, I want to get WP-PageNavi working with Post2Post on a master-detail
   page, I’ll share the results.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Error on activation – upgrade from 1.0](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/#post-2426841)
 * Hmmm, with plugins off, I got a different error.
 * [01-Dec-2011 19:55:58] PHP Fatal error: Class ‘scbAdminPage’ not found in …/wp-
   content/plugins/posts-to-posts/scb/BoxesPage.php on line 5
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Error on activation – upgrade from 1.0](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-error-on-activation-upgrade-from-10/#post-2426840)
 * Okay, I tried that, no joy. I’ll have drop back to 1.0
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Minify only working on two of three blogs](https://wordpress.org/support/topic/plugin-w3-total-cache-minify-only-working-on-two-of-three-blogs/)
 *  [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-minify-only-working-on-two-of-three-blogs/#post-1424783)
 * [@yabate](https://wordpress.org/support/users/yabate/).
 * That debug log looks normal for the first page after all caches are emptied. 
   Possibly that is what you did?
 * On the first request the queries are not cached. Of course, the second request
   will return the cached page – with exactly the same debug text.
 * If you want to prove DB caching is working, turn off and empty the page cache
   and request the page. The next request – within the db cache expiration, of course–
   will show cached queries.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] index.html 404 error gets cached](https://wordpress.org/support/topic/plugin-w3-total-cache-indexhtml-404-error-gets-cached/)
 *  [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-indexhtml-404-error-gets-cached/#post-1375305)
 * I have not got into testing this part of w3tc yet, was the page cached as 404.
   php or index.html?
 * If the former, can one exclude the 404.php file from page caching by adding it
   to the list of pages in “Never cache the following pages:” on the Page Cache 
   Settings?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Page Cache not updating on expiration](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/#post-1367529)
 * Browser cache is enabled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] w3tc conflict with mu multi-site](https://wordpress.org/support/topic/plugin-w3-total-cache-w3tc-conflict-with-mu-multi-site/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-w3tc-conflict-with-mu-multi-site/#post-1354432)
 * That would be great. My current understanding is that WP 3.0 will continue with
   the current MU configuration:
 * Either domain based blogs or subdirectory based blogs, but not both.
 * We need to support both types within one install.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Page Cache not updating on expiration](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/#post-1367518)
 * So I’ve found out the following about the disk enhanced page cache expiration
   in WPMU:
 * There is one wp_cron entry per blog called w3_pgcache_cleanup that executes at
   the “Garbage collection interval:”. It goes through the /wp-content/w3tc/pgcache
   directories removing files that are older than “Maximum lifetime of cache objects:”.
 * There appears to be no way to trigger the removal of an individual cache entry
   when updating posts. Editing and re-publishing a post creates a “One-off event”
   wp-cron entry called “do_pings”, but nothing is created for pgcache.
 * Note that when w3_pgcache_cleanup runs, it is removing files from all blogs in
   the WPMU site, not just the blog that wp_cron ran from. I do not know if this
   is by design or a side effect from using the mu_multi-site plugin, but it is 
   beneficial.
 * wp_cron can be triggered from the linux command line with
 * wget [http://www.domain.org/wp-cron.php](http://www.domain.org/wp-cron.php)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] HREF and SRC are different for image in post with cdn enabled](https://wordpress.org/support/topic/plugin-w3-total-cache-href-and-src-are-different-for-image-in-post-with-cdn-enabled/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-href-and-src-are-different-for-image-in-post-with-cdn-enabled/#post-1353787)
 * More good news! Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] w3tc conflict with mu multi-site](https://wordpress.org/support/topic/plugin-w3-total-cache-w3tc-conflict-with-mu-multi-site/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-w3tc-conflict-with-mu-multi-site/#post-1354428)
 * Great news!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Page Cache not updating on expiration](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/#post-1367505)
 * I certainly see your point and do not have any ideas yet.
 * In our case, I might like to setup a cron entry to execute a wget on wp-cron.
   php at each blog/site.
 * I’m still trying to understand the logic used to clear the disk cache in an MU
   environment. The files do not always get cleared when expected based on my current
   understanding. In addition, files from blog A are sometimes cleared by visiting
   blog B.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Page Cache not updating on expiration](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/#post-1367495)
 * So the ugly reality appears to be this.
 * Every page on the site got cached within 5 minutes, therefore no page was kicking
   off wp_cron once the max lifetime was exceeded.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] Page Cache not updating on expiration](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/)
 *  Thread Starter [sqlwiz](https://wordpress.org/support/users/sqlwiz/)
 * (@sqlwiz)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-page-cache-not-updating-on-expiration/#post-1367458)
 * Here is a test several minutes past expiration. Note the negative max-age. YSlow
   Components gives me the following Response Headers:
 * >  Date Mon, 01 Feb 2010 17:41:47 GMT
   >  Server Apache Accept-Ranges bytes Cache-
   > Control max-age=-213, public, must-revalidate Expires Mon, 01 Feb 2010 17:38:
   > 14 GMT Vary Accept-Encoding,Cookie X-Pingback [http://nnn.nnnnnn.nnn/xmlrpc.php](http://nnn.nnnnnn.nnn/xmlrpc.php)
   > X-Powered-By W3 Total Cache/0.8.5.1 Pragma public Content-Length 14347 Keep-
   > Alive timeout=5, max=99 Connection Keep-Alive Content-Type text/html; charset
   > =UTF-8 Content-Encoding gzip

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/users/sqlwiz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sqlwiz/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/sqlwiz/replies/page/2/?output_format=md)