cache.rst 841 B

123456789101112131415161718192021222324
  1. =============
  2. Misago Caches
  3. =============
  4. You can make Misago use its own cache instead of sharing cache with rest of your Django site. To do so, add new cache named ``misago`` to your ``CACHES`` setting::
  5. CACHES = {
  6. 'default': {
  7. 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  8. 'LOCATION': '127.0.0.1:11211',
  9. },
  10. 'misago': {
  11. 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  12. 'LOCATION': '127.0.0.1:11212',
  13. }
  14. }
  15. Full-Page Cache
  16. ---------------
  17. By default Full-Page Cache ("FPC") uses same cache other Misago features do, however on active site this may cause your cache backend to frequently delete other still valid caches if it runs out of space.
  18. To avert this, you can define one more cache named ``misago_fpc``.