<commit_before>
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
        'LOCATION': '127.0.0.1:11211',
        'TIMEOUT': 3600,

        # Only for locmem, filesystem and database backends
        #
        # 'OPTIONS': {
        #     'MAX_ENTRIES': 65535,
        #     'CULL_FREQUENCY': 10,
        # }
    }
}

# In development environement we completely
# bypass the cache to see changes in reatime.
if DEBUG:
    CACHES['default']['BACKEND']  = 'django.core.cache.backends.dummy.DummyCache'

SELECT2_MEMCACHE_HOST = '127.0.0.1'
SELECT2_MEMCACHE_PORT = '11211'

# Be sure our multiple sites don't collide,
# but keep the prefix as short as possible.
CACHE_MIDDLEWARE_KEY_PREFIX = '%02d' % SITE_ID
<commit_msg>Use a real cache in development, it still helps in reading lists. If I ever need to clear it, I will just reboot memcached :-)<commit_after>
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
        'LOCATION': '127.0.0.1:11211',
        'TIMEOUT': 3600,

        # Only for locmem, filesystem and database backends
        #
        # 'OPTIONS': {
        #     'MAX_ENTRIES': 65535,
        #     'CULL_FREQUENCY': 10,
        # }
    }
}

# In development environement we completely
# bypass the cache to see changes in reatime.
#if DEBUG:
#    CACHES['default']['BACKEND']  = 'django.core.cache.backends.dummy.DummyCache'

SELECT2_MEMCACHE_HOST = '127.0.0.1'
SELECT2_MEMCACHE_PORT = '11211'

# Be sure our multiple sites don't collide,
# but keep the prefix as short as possible.
CACHE_MIDDLEWARE_KEY_PREFIX = '%02d' % SITE_ID

# Not required: settings for django-cache-utils
#CACHE_BACKEND = 'cache_utils.group_backend://localhost:11211/'

{'fraction_non_alphanumeric': 0.12045454545454545, 'fraction_numerical': 0.044886363636363634, 'mean_word_length': 3.0297482837528604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4719819', 'n_tokens_mistral': 656, 'n_tokens_neox': 606, 'n_words': 151}