mod_python: delay in files changing after alteration

Stephen Chapman schapman1974 at gmail.com
Mon Jan 5 12:08:08 EST 2009


I have never noticed any such delay. After making a change I just hit
F5 on my browser and its fine.  Maybe its a browser issue



On 1/5/09, psaffrey at googlemail.com <psaffrey at googlemail.com> wrote:
> Maybe this is an apache question, in which case apologies.
>
> I am running mod_python 3.3.1-3 on apache 2.2.9-7. It works fine, but
> I find that when I alter a source file during development, it
> sometimes takes 5 seconds or so for the changes to be seen. This might
> sound trivial, but when debugging tens of silly errors, it's annoying
> that I have to keep hitting refresh on my browser waiting for the
> change to "take". I'm guessing this is just a caching issue of some
> kind, but can't figure out how to switch it off. Any suggestions?
>
> The entry in my apache2.conf looks like this:
>
> <Directory /var/www/pythonapps>
>    SetHandler mod_python
>    PythonHandler mod_python.publisher
>    PythonDebug On
> </Directory>
>
>
> Thanks,
>
> Peter
> --
> http://mail.python.org/mailman/listinfo/python-list
>

-- 
Sent from Gmail for mobile | mobile.google.com



More information about the Python-list mailing list