[z3-checkins] r52365 - z3/deliverance/DeliveranceVHoster/trunk/dvhoster
ianb at codespeak.net
ianb at codespeak.net
Mon Mar 10 22:09:05 CET 2008
Author: ianb
Date: Mon Mar 10 22:09:04 2008
New Revision: 52365
Modified:
z3/deliverance/DeliveranceVHoster/trunk/dvhoster/dispatcher.py
Log:
Disable CACHE_SIZE for static files served by dvhoster
Modified: z3/deliverance/DeliveranceVHoster/trunk/dvhoster/dispatcher.py
==============================================================================
--- z3/deliverance/DeliveranceVHoster/trunk/dvhoster/dispatcher.py (original)
+++ z3/deliverance/DeliveranceVHoster/trunk/dvhoster/dispatcher.py Mon Mar 10 22:09:04 2008
@@ -22,6 +22,11 @@
import transcluder
from transcluder.middleware import TranscluderMiddleware
+from paste import fileapp
+# I hate this in-memory cache of files, so I'm globally disabling it
+# here at least:
+fileapp.CACHE_SIZE = 0
+
def norm_path(urlpath):
if not urlpath:
urlpath = '/'
More information about the z3-checkins
mailing list