0

I have setup Django to run on a windows 2003 server following the steps on the django wiki. Everything works fine and there are no errors. Only one instance of Django is setup on the server at the moment. However whenever the first page is requested it takes about 10 seconds to load the page. After this every page loads instantly.

All my searches about speed issues with Django on windows refer to the local server, but not when using IIS and PyISAPIe.

Thanks

2 Answers 2

1

Does it do the same thing with the Django bundled server ?

Does you have any caching enabled ? Perhaps it's trying to cache the page at the fist request but something block it...

0

If you try a simple Python script running under PyISAPIe such as

from Http import *
def Request():
    Header("Content-type: text/html")
    Write("Hello, World!")

Does it take 10 seconds? This way you can try and eliminate (or narrow to) PyISAPIe / Python as the cause.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .