fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't cache whole pages, cache what's taking time.
[wolnelektury.git]
/
wolnelektury
/
settings
/
cache.py
diff --git
a/wolnelektury/settings/cache.py
b/wolnelektury/settings/cache.py
index
cc90240
..
3e27b5f
100644
(file)
--- a/
wolnelektury/settings/cache.py
+++ b/
wolnelektury/settings/cache.py
@@
-1,5
+1,5
@@
from os import path
-from
settings
.paths import PROJECT_DIR
+from .paths import PROJECT_DIR
CACHES = {
'default': {
@@
-22,5
+22,3
@@
CACHES = {
'TIMEOUT': 86400,
},
}
-CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True
-SEARCH_INDEX = path.join(PROJECT_DIR, '../search_index/')