Here is the problem with using Wp Cache and YARPP together

Immediately after using WP Cache and YARPP together, I spotted a problem. Its pretty inevitable. Say you make a post about a topic x, the related posts in this post will come up well, but the new post won’t show up in old posts that have been cached. This is a quick post just pointing out the problem, I don’t think there is a solution to this. Using WP Cache speeds up the wordpress blog but plugins don’t run I guess.

Well there is a solution, but its not really that easy. Clear the cache, disable WP Cache, make a program or a macro to browse through your entire blog and again activate WP Cache and cache the blog. If you do this from time to time them the websites related posts will be perfect. Keep the match threshold high for a better match result. By two to three posts I will search for a program that will browse through your entire website or I will make one like that.


Related Posts

WP Cache and YARPP working fine together
Just installed Wp Cache as Mitcho (the maker of YARPP) told me in a blog....

Replacing the related posts plugin in Wordpress
Hey, I am using a related posts plugin which works only using tags. It is...

List of important Blogging tools
A blog can be made more advanced, complex and better using some blogging tools, I...

Length of a blog post
Bloggers wonder about the length of a single posts, that is the total number of...

India Australia cricket 2008 tour schedule
Suresh has posted the schedule for the 2008 cricket match between India and Australia. Its...

Tags: , , ,

Friday, August 1st, 2008 Blogging

1 Comment to Here is the problem with using Wp Cache and YARPP together

  1. Thanks for covering YARPP on your blog! The feedback is always helpful.

    As for the WP-Caching issue… yes, you’re right, it’s pretty inevitable. However, WP-Cache (and derivatives) have time limits for how long caches are kept. Whenever a cache expires and is replaced, those new posts will show up in the related posts. If your cache expiration is short enough, you really shouldn’t have to manually flush the cache.

    In the future, I’m thinking about hooking into the WP-Cache/WP-SuperCache functions (as they have some pretty good hooks to work off of) so that there’s an option so, for example, the cache is flushed whenever a new post is made. Some feature like this will help automate this process.

    Thanks again for the plug/discussion!

    mitcho

  2. mitcho on October 2nd, 2008

Leave a comment