Skip to content

Commit

Permalink
Add comment about Redis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Oct 31, 2023
1 parent 28695ca commit a77b0cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
# Sessions are used to anonymously keep track of individual site visitors
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

# We use Redis as a cache backend, as recommended by Wagtail here:
# https://docs.wagtail.org/en/v2.10.2/advanced_topics/performance.html#cache
#
# We previously used the Memcache service bundled with Google App Engine,
# but it is now considered a legacy service and does not work seamlessly with Django.
#
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
Expand Down

0 comments on commit a77b0cd

Please sign in to comment.