Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-19T04:20:10-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=461 2011-04-19T04:20:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=12927#p12927 <![CDATA[Re: re-cache on comment?]]>
Is it that hard to add this feature?

Has anyone patched the plugin to provide this feature? Or is an update in the works?

Statistics: Posted by Paul030 — April 19th, 2011, 4:20 am


]]>
2011-04-15T03:00:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=10924#p10924 <![CDATA[Re: re-cache on comment?]]> I would very much like a page's cache to be cleared after a comment is submitted.

Statistics: Posted by ovidiu — April 15th, 2011, 3:00 am


]]>
2011-03-26T16:28:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=8400#p8400 <![CDATA[Re: re-cache on comment?]]>
If we have this option I would set cache to much higher value, at the moment I cannot do that, because I am getting comments occasionally and current settings wouldn't be friendly for the post that is getting comments. And the truth is, if your site has 50 pages for example, you are getting comments on very few... and all other pages suffer in speed since you cannot set higher cache value because of these few posts.

I'm aware that those posts can be dismissed with Quick cache options, but those are posts with most traffic and would be nice to have them cached. I am actually getting just a couple of comments daily and automatic re-caching would work perfectly for me.

The other solution could be different caching for posts and pages.

Btw, big thank you for the plugin, I like it more than other cache options for WP.

Statistics: Posted by fozzzo — March 26th, 2011, 4:28 pm


]]>
2011-03-26T01:08:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=8370#p8370 <![CDATA[Re: re-cache on comment?]]>

Statistics: Posted by dozarte — March 26th, 2011, 1:08 am


]]>
2011-03-25T18:30:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=8359#p8359 <![CDATA[Re: re-cache on comment?]]>
"Re-cache on comment" is the only thing I miss in this plugin. I want to set a high value in "Cache expires" because once published a post, rarely changes, so rebuilding it's not necessary. But if I set this high value, appears the same problem described by dozarte: users not logged in can't see new messages until the end of the "Cache expires" period. Please consider implementing this feature in next version.

Thank you!

Statistics: Posted by jcspain — March 25th, 2011, 6:30 pm


]]>
2011-03-19T13:43:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=8026#p8026 <![CDATA[Re: re-cache on comment?]]>
add this in yout theme functions:


Code:
    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;
    }




then go to:

wp-content/plugins/quick-cache/includes/functions/clearing-routines.inc.php

and in line 32

replace with this:
Code:
    if (in_array ($pagenow, ($pages = array ("edit.php", "post.php", "post-new.php", "wp-comments-post.php"))))




and you are done. again to me only works in WP 3.0.4 + QC 2.2.7

Statistics: Posted by catalyst — March 19th, 2011, 1:43 pm


]]>
2011-03-17T01:11:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=7938#p7938 <![CDATA[Re: re-cache on comment?]]>
Jason Caldwell wrote:
@TODO :: possible option in the back-end panel for Rebuild-On-Comment.


Please remember this "to do" ;)

Statistics: Posted by dozarte — March 17th, 2011, 1:11 am


]]>
2010-08-24T09:47:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=2541#p2541 <![CDATA[Re: re-cache on comment?]]>
@TODO :: possible option in the back-end panel for Rebuild-On-Comment.

Statistics: Posted by Jason Caldwell — August 24th, 2010, 9:47 am


]]>
2010-08-24T09:39:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=2538#p2538 <![CDATA[Re: re-cache on comment?]]>
I think this could be a problem just if someone has a not often updated blog, like mine; I set up cache expires to 9999999! (my fault, I know)
I only think could be nice some 'update on comment' feature.

Anyway - as said - great plugin!

Statistics: Posted by dozarte — August 24th, 2010, 9:39 am


]]>
2010-08-24T09:17:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=2534#p2534 <![CDATA[Re: re-cache on comment?]]>

I simply think the plugin does not rebulit the cache of a page when a user submit a comment.
If that user can see a 'refreshed' page, other users can not.
Am I right?

Yes, you are correct. The person who left the Comment will be able to see the updated spool ( with their comment ), and anyone else who has previously commented on your site will also see those changes immediately. s2Member does not cache pages for logged-in users. That being said, s2Member considers anyone who has commented recently, a "logged-in user", even though technically they're not.

* Note.. Quick Cache does NOT rebuild the cache each time, so public visitors who are not logged in, or have not left comments recently, will NOT see comment updates until the cache expires, which is usually an hour later. This is the intended behavior.

Statistics: Posted by Jason Caldwell — August 24th, 2010, 9:17 am


]]>
2010-08-19T00:45:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=2480#p2480 <![CDATA[Re: re-cache on comment?]]> If that user can see a 'refreshed' page, other users can not.
Am I right?

Statistics: Posted by dozarte — August 19th, 2010, 12:45 am


]]>
2010-08-04T22:16:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=2087#p2087 <![CDATA[Re: re-cache on comment?]]> ~ Sorry to hear that.

If you have a chance, please feel free to elaborate on this topic.
Maybe I didn't understand the problem exactly?


On this page I can see a comment just if I'm logged in; can you see it, since you can't login?

Statistics: Posted by Jason Caldwell — August 4th, 2010, 10:16 pm


]]>
2010-07-30T10:08:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=1975#p1975 <![CDATA[Re: re-cache on comment?]]> Oh well... it's not a matter of life or death, so... I'm giving up!
;P
Never mind!
Thank you anyway!!

Statistics: Posted by dozarte — July 30th, 2010, 10:08 am


]]>
2010-07-30T09:37:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=1968#p1968 <![CDATA[Re: re-cache on comment?]]>
If you continue to have problems, you might also want to verify that your theme is configured to display existing comments to everyone. Normally, these routines are found inside:
/wp-content/[your theme]/comments.php

Statistics: Posted by Jason Caldwell — July 30th, 2010, 9:37 am


]]>
2010-07-28T06:43:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=1895#p1895 <![CDATA[Re: re-cache on comment?]]> On this page I can see a comment just if I'm logged in; can you see it, since you can't login?

Statistics: Posted by dozarte — July 28th, 2010, 6:43 am


]]>
2010-07-28T02:49:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=1868#p1868 <![CDATA[Re: re-cache on comment?]]>
Actually, Quick Cache already handles this gracefully.

In your WP Dashboard, see: Quick Cache - Options:

Don't Cache Pages For Logged In Users?
It is best to leave this set to True at all times. Most visitors are NOT logged in, so this does not hurt performance at all. Also, this setting includes some users who AREN'T actually logged into the system, but who HAVE authored comments recently. This way comment authors will be able to see updates to the spool immediately. In other words, Quick Cache thinks of a comment author as a logged in user, even though technically they are not.

Statistics: Posted by Jason Caldwell — July 28th, 2010, 2:49 am


]]>
2010-07-27T14:00:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=461&p=1843#p1843 <![CDATA[re-cache on comment?]]> Statistics: Posted by dozarte — July 27th, 2010, 2:00 pm


]]>