First time here? Check out the FAQ!
1

live-settings value change inconsitency
 

Regarding changing something in '/settings/', I face a very strange issue. I change something (i.e. logo), then save it, but the change doesn't take effect immediately.

  • In the server side '/settings', the change doesn't showup (it shows the previous), and trying to re-edit leads to error.

  • Interestingly in the browser side, cache refresh (with cmd+R) shows up the change (new logo), but with another refresh goes back to previous state (i.e. previous logo), and this continues with each alternate 'refresh'

Anyway, after changing something in the /settings, and immediately after restarting the server solves this inconsistency. Could you point me to any simple solution/workout?

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)
str's avatar
91
str
asked 13 years ago

Comments

see more comments

1 Answer

0

You probably have a multiprocess deployment and local memory cache. With multiple processes you need to share the cache - by using either memcached or redis.

Please refer to django caching doc page for further information.

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
link

Comments

see more comments