Why some times Answers are not shown after submit?
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.
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.
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-04-10 13:23:01 -0600
Seen: 544 times
Last updated: Apr 10 '12