sqlwiz
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts 2 Posts] PageNavi integration with Posts 2 PostsYes – /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
In reply to: [Posts 2 Posts] PageNavi integration with Posts 2 PostsThat 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?
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.
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
Okay, I tried that, no joy. I’ll have drop back to 1.0
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Minify only working on two of three blogsThat 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
In reply to: [Plugin: W3 Total Cache] index.html 404 error gets cachedI 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
In reply to: [Plugin: W3 Total Cache] Page Cache not updating on expirationBrowser cache is enabled.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] w3tc conflict with mu multi-siteThat 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
In reply to: [Plugin: W3 Total Cache] Page Cache not updating on expirationSo 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
More good news! Thanks.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] w3tc conflict with mu multi-siteGreat news!
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Page Cache not updating on expirationI 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
In reply to: [Plugin: W3 Total Cache] Page Cache not updating on expirationSo 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
In reply to: [Plugin: W3 Total Cache] Page Cache not updating on expirationHere 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
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