Re: [PHP] Re: PHP script lag (5 secs) when declaring mime type.

2009-03-06 Thread Jsbeginner
essed with gzip (images etc). Thanks again :) Nisse Engström a écrit : On Thu, 5 Mar 2009 19:14:20 +0100, Nisse Engström wrote: On Thu, 05 Mar 2009 15:45:35 +0100, Jsbeginner wrote: test.js is only a few lines long, and if I remove the header content type the file loads instanta

Re: [PHP] PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Jsbeginner
e a bug with PHP 5.2.9 that's causing this problem? Thankyou :) haliphax a écrit : On Thu, Mar 5, 2009 at 10:27 AM, Jsbeginner wrote: Hello, Just to say that I've got a bit further in my search : (Content-Length line removed) Has no lag... My guess is there is a problem with

Re: [PHP] PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Jsbeginner
d be great :) Thankyou Jsbeginner a écrit : Hello, I don't know for sure is this problem is only related to PHP so I hope I've posted in the right list. My problem is that with certain headers my script takes about 5 seconds before sending the page, no matter how small the file I

[PHP] PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Jsbeginner
Hello, I don't know for sure is this problem is only related to PHP so I hope I've posted in the right list. My problem is that with certain headers my script takes about 5 seconds before sending the page, no matter how small the file I try to load... My server : Centos Apache 2.2 PHP 5.2.9