django-appsettings
django-appsettings copied to clipboard
Caching
trafficstars
"Load the settings from the database for each request (thread), do not use with caching."
Why can't that be cached? Surely if there is a problem with invalidation, then when you change a setting it such invalidate the cache there?
Sorry, could you provide some context for your quote?
class SettingsMiddleware(object):
In middleware.py we have that comment that you shouldn't cache the update_db