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"))))
Statistics: Posted by catalyst — March 11th, 2011, 2:16 pm
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?
Statistics: Posted by Jason Caldwell — September 27th, 2010, 3:37 pm
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?
Statistics: Posted by Jason Caldwell — September 27th, 2010, 3:30 pm
Statistics: Posted by LucPestille — September 8th, 2010, 6:39 am
Statistics: Posted by LucPestille — September 8th, 2010, 3:07 am
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?
Statistics: Posted by Jason Caldwell — September 8th, 2010, 12:54 am
Statistics: Posted by LucPestille — September 7th, 2010, 4:30 pm
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).
Statistics: Posted by Jason Caldwell — September 7th, 2010, 4:00 pm
Statistics: Posted by LucPestille — September 3rd, 2010, 3:47 am