First time here? Check out the FAQ!
1

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Miguel's avatar
115
Miguel
asked 13 years ago

Comments

see more comments

1 Answer

2

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago, updated 13 years ago
link

Comments

using memcached worked for me

Miguel's avatar Miguel (13 years ago)
see more comments