Comments (5)
Django does some automatic caching for some stuff, but not sure what exactly π
We could also switch the cache to db or maybe local memory
from dienst2.
Local memory cache + sessions in database sounds like the way to go.
from dienst2.
Isn't memcached use for caching instead of sessions? π€
Default for sessions is db storage: so just don't set it for production should be the way to go for this
SESSION_ENGINE = env("SESSION_ENGINE", default="django.contrib.sessions.backends.db")
from dienst2.
Production config is as follows:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'localhost:11211',
'KEY_PREFIX': 'dienst2',
}
}
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
And I don't think the cache is used anywhere else?
from dienst2.
Resolved with #311
from dienst2.
Related Issues (20)
- Validate models in importer
- Dienst export does not remove "Non-members" when "Member" is checked HOT 1
- After merging github-actions, add it as a required check for merging to master HOT 1
- GitHub Actions: Only login to Docker registry when pushing
- Remove kas implementation
- 66 - Members in Dienst HOT 2
- 66 - Edit Profile werkt niet HOT 2
- 66 - Committee export HOT 1
- 66 - Zoekfunctie
- Dienst2 Google Directory API TODO's HOT 4
- 66 - Remove unneccesary fields
- 66 - Remove unneccesary fields
- Remove LDAP integration
- Remove Userman2 links
- Add member study status (1/2/3/+ years, BSc, doing master thesis)
- Remove βniet-ledenβ PII after six months (excluding committee info)
- Integration with Listmonk
- Fix unknown crashes Dienst2 HOT 1
- Issues with Google username validation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dienst2.