[Tilecache] dynamic config

Attila Csipa plists at prometheus.org.yu
Wed Feb 13 08:44:08 EST 2008

On Wednesday 13 February 2008 14:27:06 Christopher Schmidt wrote:
> > I'm wondering: if you run TileCache under mod_python, will it be able
> > to see new config files added to tilecache.conf.d between two Apache
> > reloads?
> Nope. load(), which calls loadFromSection(), is only called if the
> config isn't defined. There is no notion of expiring it (though there's
> no reason there couldn't be; for example, a mod time check on the
> config).

I rechecked, my bad, I made some (not yet submitted) changes which affect this 
behaviour and looked at my copy instead of the one in trunk. Sorry. So, if 
you have trunk, you will only load them on server startup (with the exception 
of the CGI handler which has to load configs on each call anyway).

More information about the Tilecache mailing list