2

Closed

Cache .wsgi files between requests

description

Currently, if a site uses a .wsgi file, it is reloded for each request. While the files are small, this usually isn't necessary, and the ScriptSource or CompiledCode can probably be cached.

There should also be a way to disable this; using system.web/compilation@debug is probably the easiest and most sensible.
Closed Jun 12, 2009 at 5:05 AM by
Fixed in r25456.

comments

jdhardy wrote Jun 6, 2009 at 2:27 PM

Finding a ay to get IIS to recycle is the .wsgi file is changed would be helpful as well.

nirataro wrote Jun 7, 2009 at 2:19 PM

There's probably no need to recycle IIS process when .wsgi got changed since this slows down the site significantly (It has to reload Iron Python, etc). I think refreshing the CompiledCode will be sufficient.

jdhardy wrote Jun 7, 2009 at 2:41 PM

There isn't a way to trigger a recycle anyway, but you're right - it's not necessary.