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?

str's avatar
91
str
asked 2012-01-02 08:56:29 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment 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.

Evgeny's avatar
13.2k
Evgeny
answered 2012-01-02 10:31:22 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments