PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
Also, since the plugin options are only set on the primary site, does this mean that I can't use the sitemap option (as each site will need it's own sitemap defined).
Jason Caldwell wrote:Thanks for the great questions.
Yes, Quick Cache IS compatible with Multisite Networking. While I've not tested with that particular plugin, I don't foresee any issues running Quick Cache with domain mapping.
It does work OK - I've seen some weird CPU spikes, I think related to the cached files being re-generated, but other than that (and gzip not being enabled by default), it seems to work OK.
On that first note, why are cached pages re-generated every X seconds? If my homepage/posts don't change for hours or days on end, why should they be automatically re-generated and take up CPU time?
Jason Caldwell wrote:If your site rarely changes, then I would suggest increasing your Cache Expiration Time. I've seen site owners run this as high as 1 year ( 31556926 seconds ). In other words, the ONLY reason Quick Cache would re-generate Pages, is if your Expiration Setting requires it to do so, or you've configured Quick Cache with Dynamic Cache Pruning upon changes to your content within WordPress®.
If your Expiration Time is left at the default setting ( 3600 seconds = 1 hour ), then it will refresh the cache each hour ( on a per-Post basis ), looking for possible changes in your content. If you know that your content rarely changes ( i.e. you rarely edit posts, and you have no comments being left behind ), then you can safely increase your Expiration Time to dramatically decrease the amount of CPU time and bandwidth your server consumes.
Is the cache re-generated per post when a comment is made, or would new comments always take "Expiration Time" to show up for regular visitors?
Also, if QC doesn't use the root .htaccess to redirect requests, how does it work? Does it request something from the database for each request?
add_filter("comment_post_redirect", "ws_plugin__qcache_clear_on_post_page_comment", 10, 2);
function ws_plugin__qcache_clear_on_post_page_comment($location, $comment) {
ws_plugin__qcache_clear_on_post_page_creations_deletions($comment->comment_post_ID);
return $location;
}
if (in_array ($pagenow, ($pages = array ("edit.php", "post.php", "post-new.php", "wp-comments-post.php"))))
Users browsing this forum: No registered users and 0 guests