Every time I change in on of my Spyce code I cannot see changed
results at once. Although I set up Debug=1 in spyce.conf I always get old,
cached values. :( New data can be seen after restart of my web server.
Is there any other way (without restarting apache?) I am using Cheetah
0.9.15 as a template system for Spyce. I suppose, something is wrong
with cache for those templates embeded in Spyce....
I am using mod_python 3.0.3 on Apache 2.0.47/Win32. Spyce 1.3.11 (with
last fixes as I mentioned earlier)
On 1 sierpnia 2003 at 14:02:52
> For me, if the changes are in a .spy, I simply
> have to refresh the browser to see the changes.
> If the changes are made to a .spi, I also have to
> update the .spy that includes the .spi to view the
> changes after a refresh.
That's right. But the problem appears when you try to use template
module (this module implements Cheetah). When you change something in
.tmpl file, refresh does NOT work. I've looked at template.py code. It
uses memory caching and pool module. Created pool variable exists
until web server will be restarted. I think, something wrong is
there because I could not find any condition for checking which .tmpl
file is never. It seems, the old cache value is always returned. :(
Get latest updates about Open Source Projects, Conferences and News.