Ask Your Question
1

Why some times Answers are not shown after submit?

asked 2012-04-10 13:23:01 -0500

Miguel gravatar image Miguel
105 7

When I answer a question the answer is not shown after the submit or when I refresh a question page I can't see recent answers.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-10 13:30:36 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

updated 2012-04-10 13:40:43 -0500

Looks like cache invalidation is not working properly for you.

I am guessing that this might be because your cache is not set up correctly and you are using a multiprocess setup for the application.

In the newer version of askbot some chunks of HTML and data are stored in cache and actively invalidated when certain things happen to questions/answers etc. Therefore with the default per-process cache of type "locmem" page renderings by the sibling process instances may not be the same.

Try using redis cache or memcached.

link publish delete flag offensive edit

Comments

using memcached worked for me

Miguel ( 2012-04-10 14:40:03 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-04-10 13:23:01 -0500

Seen: 53 times

Last updated: Apr 10 '12