hi there,
i'm trying to develop my first web app with python, webware and cheetah
template. i'm positively impressed by the whole system and i'm not
having great issues that bothers my much, until now :(
one thing i find very annoying and time consuming it's
the way webware handles caching, it caches pratically
everything: servlets, servlets super classes, even modules
used by them, and --as you may guess--during development it's
pretty frustraing continuing to restart webware or fiddling
with admin control panel.
i've tried to change the webware configuration and switched
off these values:
CacheServletClasses': 0,
CacheServletInstances': 0,
and this *partially* solved the problem, but modules used by serlvet
(in the my specific case a python file performinhg data access to
mysql) still need to be manually unloaded everytime i modify it
(the same thing happens to compiled cheetah templates).
i'm also wondering what these params in application.config means:
'UnknownFileTypes': {
'ReuseServlets': 0,
'Technique': 'serveContent',
'CacheContent': 1, # set to 0 to reduce memory use
'CheckDate': 1,
},
anyone can enlight me on that values? ...and after comes
the mighty:
'AutoReload': 0,
which, i've been told, does not work as intended if webware
run as NT service (infact if activated it crashes webware on my
machine). does autoreload would solve all the above problems? how do you
guys avoid the cache-issue while developing with webware?
my pc is running:
* python 2.2.2
* apache 2 on windows 2000 pro
* webware 0.8 running as NT service
any hint will be greatly appreciated.
later,
deelan
|