PDA

View Full Version : How to refresh Post cache of particular thread


myogesh_mathur
04-30-2009, 05:57 PM
Hi

I am trying to refresh post cache of post cache, i have a cron job which will collect date from post on site, and update post also. But when it update post, the post cache is not getting updated.

Do you know a way for refreshing post cache for that thread which my cron is updating [may be a small hack will help.] Or I will have turn off the caching [which will kill my server.]

Please help vbulletin gurus......

Dismounted
05-01-2009, 05:41 AM
You can just truncate the post cache table to clear it. Don't do this too often, otherwise, it will be just as bad as disable the cache altogether.
TRUNCATE TABLE postparsed;

Lynne
05-01-2009, 02:42 PM
Or, if he's just wanting to 'refresh' the one post, can't he just delete the row from that table? delete from postparsed where postid=x ?

Dismounted
05-02-2009, 12:45 AM
That should work as well.